Forums

Tabbed Widgets
[resolved] Stopped working after update! (11 posts)

  1. Tara Rotten
    Member
    Posted 1 year ago #

    I just updated my tabbed widget plugin and now its broken!
    I created my own theme from scratch and had it working (after tweeking it ) then i updated the plugin without backing up my old version and now your plugin doesnt work please help, I have read through your comments and my functions.php looks like this :

    <?php
    if ( function_exists('register_sidebar') )
        register_sidebar(array(
      'name'=>'one',
      'before_widget' => '<li id="%1$s" class="%2$s">',
      'after_widget' => '</li>',
      'before_title' => '<h2 class="widgettitle">',
      'after_title' => '</h2>'
    ));
    
    ?><?php
    function aa_userlist_add_link_to_all( $template ) {
      $url_link = 'http://the5thpocket.co.uk/disciples';
      $text = 'View all';
      $template = '<div class="author-list">{users} <div class="all_bloggers_link"><a href="http://the5thpocket.co.uk/disciples">' . $text . '</a></div></div>';
      return $template;
    }
    add_filter('aa_userlist_template', 'aa_userlist_add_link_to_all');
    ?>

    please help!

    http://wordpress.org/extend/plugins/tabbed-widgets/

  2. Kaspars
    Member
    Posted 1 year ago #

    plugin doesnt work

    It would be nice if you could elaborate on that. There is no way we can help you debug this if you don't give at least the URL of your site.

  3. Tara Rotten
    Member
    Posted 1 year ago #

    Hey

    sorry if 'plugin doesn't work' seemed rude think i meant to put now the plugin doesn't work for me. I did have it working before the update and it was great.

    Here is my url
    http://the5thpocket.co.uk

    my function php is as above..any ideas?

  4. Kaspars
    Member
    Posted 1 year ago #

    Your site is in maintenance mode -- I can't view the source.

  5. Tara Rotten
    Member
    Posted 1 year ago #

    Opps thought i swicthed that off for you sorry..off now :)

  6. Kaspars
    Member
    Posted 1 year ago #

    Well, I see that you have only one widget "BROWSE BY CITY" placed in that accordion widget in the sidebar. For tabbed widgets to work, you need at least two widgets inside the tabbed widgets container, otherwise there is nothing what to "tab".

  7. Kaspars
    Member
    Posted 1 year ago #

    Also, make sure that your theme has:

    <?php wp_footer(); ?>

    in the footer.php right before </html>.

  8. Tara Rotten
    Member
    Posted 1 year ago #

    Amazing the fooetter code made it work! thanks very much!

  9. Pablovp
    Member
    Posted 1 year ago #

    I have solved the same problem using that <?php wp_footer(); ?> Could you explain me why? Thanks a lot Kaspars.

  10. Kaspars
    Member
    Posted 1 year ago #

    Every theme must have that in the footer. Here are the theme guidlines:

    http://codex.wordpress.org/Theme_Review#Template_Tags_and_Hooks

  11. Pablovp
    Member
    Posted 1 year ago #

    I didn't know it, thanks for the link and for the plugin. Cheers, Pablo.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic