WordPress.org

Ready to get started?Download WordPress

Forums

Tabbed Widgets
Broken in WordPress 3.3 (20 posts)

  1. davemac
    Member
    Posted 2 years ago #

    Looks like the jquery UI is not being applied when this plugin is used in WP 3.3, which then breaks the layout and functionality.

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

  2. Сергей
    Member
    Posted 2 years ago #

    Don't work "Style as: tabs".

  3. elmalak
    Member
    Posted 2 years ago #

    Same here, all there tabs are listed below each other, no tabs.

  4. LMP
    Member
    Posted 2 years ago #

    I can also confirm that this plugin is completely non-functional in WP 3.3

  5. Tibor Paulsch
    Member
    Posted 2 years ago #

    + 1

  6. verlierer
    Member
    Posted 2 years ago #

    Here's the error I'm getting with tabs. (Note: the accordian setting seems to work, and the "tabs-nav" is properly appended in init-plugin.js)

    $(".tw-tabs", this).tabs is not a function
    wp-content/plugins/tabbed-widgets/js/init-plugin.js
    Line 51
  7. verlierer
    Member
    Posted 2 years ago #

    Okay. I'm hardly a wordpress pro, but I got this to work on WordPress 3.3 by forcing "jquery.ui.tabs.min.js" to load by placing the following line in the addHeader() function of tabbed-widgets.php in the Tabbed Widgets plugin:

    wp_enqueue_script('jquery-ui-tabs',  $this->plugin_path . 'js/jquery-ui-custom.min.js', array('jquery'), false, true);

    Maybe that'll help.

  8. defoli
    Member
    Posted 2 years ago #

    You are the best. Now it's work again. Thanks!!!!
    Du bist der beste @verlierer. So läuft es wieder rund. Danke!!!!!!!!!!!!

  9. ArtbyKat
    Member
    Posted 2 years ago #

    Ahhhh brilliant - you're a champion!

  10. elmalak
    Member
    Posted 2 years ago #

    @verlierer:
    thank you, that worked right away after adding the code to tabbed-widgets.php file.

  11. im92
    Member
    Posted 2 years ago #

    Sorry to bother you.

    Please I placed this code just below function addHeader() {
    and just above a similar code that I found there only that that one seems to be for the accordion. Somehow, it still does not work. Can you pls advise on the right place to place the code in the tabbed-widgets.php file?

  12. elmalak
    Member
    Posted 2 years ago #

    @im92:
    this is how mine looks now and it works:

    function addHeader() {
    		wp_enqueue_script('jquery-ui-tabs',  $this->plugin_path . 'js/jquery-ui-custom.min.js', array('jquery'), false, true);
    		wp_enqueue_script('jquery-ui-accordion',  $this->plugin_path . 'js/jquery-ui-custom.min.js', array('jquery'), false, true);
    		wp_enqueue_script('jquery-ui-cookie',  $this->plugin_path . 'js/jquery-cookie.min.js', array('jquery-ui-accordion'), false, true);

    good luck.

  13. hirdesh.paliwal
    Member
    Posted 2 years ago #

    Hi guys,

    I am also using wordpress 3.3. with this widget and for me it worked with small tweaking in add header function in tabbed-widgets.php. Here is my add_header function

    function addHeader() {
      wp_enqueue_script('jquery-ui-tabs',  $this->plugin_path . 'js/jquery-ui-custom.min.js', array('jquery'), false, false);
      wp_enqueue_script('jquery-ui-accordion',  $this->plugin_path . 'js/jquery-ui-custom.min.js', array('jquery'), false, false);
      wp_enqueue_script('jquery-ui-cookie',  $this->plugin_path . 'js/jquery-cookie.min.js', array('jquery-ui-accordion'), false, false);
    
      // Add default widgets styles
      wp_enqueue_style('tabbed-widgets', $this->plugin_path . 'css/tabbed-widgets.css');
    
      if (get_current_theme() == 'Twenty Ten')
       wp_enqueue_style('tabbed-widgets-2010', $this->plugin_path . 'css/twenty-ten.css');
     }

    Hope it helps

  14. johnnyjh
    Member
    Posted 2 years ago #

    So glad others are actually posting their solutions. Thanks to you all. Saved me at least an hour of debugging.

  15. andy
    Member
    Posted 2 years ago #

    Hi all,

    I'm having the same issue once I upgraded to wp 3.3. I tried the solutions suggested but still no luck. I've also re-installed the plugin, and disabled all others without any success.

    I'm at a loss and hoping there are some other solutions out there.

    Here is the site. The tabbed areas should be "latest headlines" & "hvwm library" in the sidebar below the big quote
    http://hvwm.com/

    Thanks

  16. rickymurphy
    Member
    Posted 2 years ago #

    I had the same issue, verlierer's solution fixed it for me on 3 different sites.

    Thank you!

  17. joetaxpayer
    Member
    Posted 2 years ago #

    I am stuck. I added hirdesh' code above, edited to say thesis instead of twenty ten, added content to side bar, and the tabs show in main post, not sidebar, and with no content.

    Any thoughts to help?
    I've been tinkering to get a good tab function working, and am amazed at how difficult the process has been.

    Side question - if I find a theme that has the tabs built in, how difficult would it be to port that over to thesis? Is that the wrong approach? (I see workers on oDesk with WP skills, and would go there for this custom request. I'd just like this as an option)

  18. electrolund
    Member
    Posted 2 years ago #

    Wow, verlierer, nice work. Your fix worked for me too.

    Off hand, does anyone know if there's a method for doing this sort of plugin modification within the child theme function.php file? That way things won't get messed up if the plugin is updated?

  19. declanqian
    Member
    Posted 1 year ago #

    Awesome!

  20. yuvrajjain
    Member
    Posted 1 year ago #

    Hello verlierer,

    Awesome man!,

    Thanks for the solution posting. It is working as expected.

    Regards.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic