• So I have been trying to get this plugin working right for a few days now, but I cannot figure it out. I have narrowed it down to the register_sidebar section of my themes functions.php file, but I think I just cannot solve for the right coding. Here is how the original is:

    if ( function_exists('register_sidebar') ) {
    register_sidebar(array('name'=>'Sidebar Left',
    'before_widget' => '<ul class="nolist"><li>',
    'after_widget' => '</li></ul>',
    'before_title' => '<h3>',
    'after_title' => '</h3>',
    ));

    I have tried changing it to:

    if ( function_exists('register_sidebar') ) {
    register_sidebar(array('name'=>'Sidebar Left',
    'before_widget' => '<div id="%1$s" class="%2$s"><ul class="nolist"><li>',
    'after_widget' => '</li></ul>',
    'before_title' => '<h3>',
    'after_title' => '</h3>',
    ));

    as well as

    if ( function_exists('register_sidebar') ) {
    register_sidebar(array('name'=>'Sidebar Left',
    'before_widget' => '<div id="%1$s"><ul class="nolist %2$s"><li>',
    'after_widget' => '</li></ul>',
    'before_title' => '<h3>',
    'after_title' => '</h3>',
    ));

    but have not succeeded to get it working yet. It shows the widget in my admin bar, and I can set other widgets inside it, but on the site it just shows the tabbed accordion titles of the widget, but it will not work.

    https://www.ads-software.com/extend/plugins/tabbed-widgets/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Try this:

    if ( function_exists('register_sidebar') ) {
    register_sidebar(array('name'=>'Sidebar Left',
    'before_widget' => '<ul id="%1$s" class="nolist %2$s"><li>',
    'after_widget' => '</li></ul>',
    'before_title' => '<h3>',
    'after_title' => '</h3>',
    ));

    The reason why your previous tries didn’t work is because the HTML was not properly closed.

    Thread Starter nemo-maritime

    (@nemo-maritime)

    Yep, I’m still new to parts of this, but that did it! Thanks. One little issue I have left over, is that if I try to set it in tabbed view, it shows the tabs on top of each other. Would that be because of the ul tags?

    Thread Starter nemo-maritime

    (@nemo-maritime)

    I went through your blog and saw an old support post, where you gave the following code

    #sidebar-bottom ul ul li {
       margin:0; padding:0; width:auto;
    }

    to put into the bottom of the css file of the theme, but that did not work for me.

    Last thing, I went through the site where it recommends changing the css of the widget with the <!–before_widget–>, <!–before_title–>, <!–after_title–> and <!–after_widget–> tags, but I dont get where I am to put it. Is it in the widget setup from wp admin or in one of the root folders for the plugin? It could be that its early in the morning here, but my brain will just not start up today.

    Thread Starter nemo-maritime

    (@nemo-maritime)

    Never mind the

    #sidebar-bottom ul ul li {
       margin:0; padding:0; width:auto;
    }

    part. Stupid me forgot to put in the sidebar-right and that did it, but it changed some widgets, so I have to find the selector for the tabbed section of the CSS, which I am doing. As for the tags part, still not a hundred percent on where I should put them.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Help with Tabbed Widgets plugin’ is closed to new replies.