WordPress.org

Support

Support » Plugins and Hacks » [Plugin: WP UI – Tabs, Accordions, Sliders] WP UI Not Working With WP 3.4.1

[Plugin: WP UI – Tabs, Accordions, Sliders] WP UI Not Working With WP 3.4.1

Viewing 15 replies - 1 through 15 (of 28 total)
  • It looks like your tabs are working here-> http://sobercollege.com/begin-your-path-to-recovery

    Did you do anything to fix the problem?

    same here notworkin http://www.sntdownloads.com

    will add to the not working.
    http://www.ee-ip.org/erer/?p=50
    neither posts nor template version. I am using the reverie framework dont know if it has anything to do with that.

    It is very hit and miss on my website – On the front page especially.

    The Sliders work sometimes and don’t work most of the time. 3.41 – Site – http://www.tiredofit.ca

    Will start looking in the code and playing with the commenting out options/jquery.

    I upgraded my website(http://www.e-queries.com/it-services/server-support) to WordPress 3.4.1 ,tabs works fine . Howerver, the accordion does not work for some reason. checked all the configuration No luck.

    Plugin Author kavingray

    @kavingray

    @gurudas – Please try toggling the “Options page -> Advanced -> Demand load scripts” and lemme know the progress.

    Plugin Author kavingray

    @kavingray

    Also link to the test page would be great.

    Please let me add to the seemingly ever growing list of “not working”

    http://2supportu.biz/graphic-designer-birmingham-uk/

    If you click the above link, you’ll see on that page 3 subheadings:

    • Logo Designs
      Banners & Signs
      Design Sets

    Each of these should be a tab. But instead they all seem to be one underneath the other.

    I have to say, this was working until I recently updated the plugin and now it’s stopped working.

    Plugin Author kavingray

    @kavingray

    @ linseyja – Disable Options page -> Advanced -> Demand load scripts. Also try the “Use old scripts” Options on the same panel.

    Thanks Kavin. I have done as you recommended and it all seems to be working now. 🙂

    I can’t get it to work either. Tried the suggested from Kavin for linseyja and still doesn’t work. I’m trying to put some posts into tab form. The posts are showing up, but there are no tabs and nothing styled.

    From the settings area, it looks like it has potential to be a great plugin. Just wish it worked for 3.4.1. Hopefully Kavin, if you have time you are able to troubleshoot. Thanks for your efforts.

    I’ve got a client on WP 3.4.1. The client added WP UI and activating it broke all javascript on the site. I deactivated it and the problem is solved.

    I’m willing to bank that its a jquery conflict. So I took a look at some of the code for WP UI and I noticed it’s utilizing the standard $ function for jquery.

    If developers are going to distribute plugin with a jquery dependency, I strongly suggest running jquery in NO CONFLICT mode as described here:

    http://digwp.com/2009/06/including-jquery-in-wordpress-the-right-way/

    I don’t know if this is really the cause of the plugin breaking my client’s site or not. But if you guys will develop in NO CONFLICT MODE, it will help avoid any jquery conflicts in the future.

    Consider NO CONFLICT mode similar to use of a NAMESPACE. Since javascript doesn’t support namespaces, just rename the primary jquery function to something else manually if you have to.

    In the meantime, I’m not exactly sure what I’m gonna do to fix my client’s problem.

    Ok. Its DEFINITELY a jquery conflict. But its specific to the theme my client is using. I noticed in Chrome console, I get this error:
    Uncaught Syntax error, unrecognized expression: #
    and the file it references for the syntax error is jquery-1.5.1.min.js in the theme folder.

    The theme is Express by Template Square, but I don’t think that should matters. Since I know the problem is some kind of jquery conflict, the issue now is how to resolve it.

    I tried a plugin I wrote called jQuery override, but that didn’t fix it. jQuery override removes existing jquery from wordpress enqueuescript and adds its own jquery. Unfortunately, I don’t think that stops the theme’s functions.php file from loading jquery.

    I’ll just try extending a child theme from the parent theme and modifying functions.php or whatever I have to do to stop the theme from loading its older version of jquery or from loading jquery at all…

    RESOLVED FOR ME.

    Well I found the enqueue_script function being called in the THEME functions.php. There was also a deregister script before it for jquery. It was causing an older version of jquery to override everything. That was the culprit.

    Sorry if nothing I’ve said here helps with other problems on this thread. I thought it was related but I may have hijacked!

    Chris Olbekson

    @c3mdigital

    Level 12 Bug Squasher & Forum Moderator

    The theme is Express by Template Square, but I don’t think that should matters. Since I know the problem is some kind of jquery conflict, the issue now is how to resolve it.

    This is why themes should NEVER include a bundled version of jQuery. Find out where the theme is adding this file and remove it.

    The correct way to add jQuery is using wp_enqueue_script wrapped in a function attached to the wp_enqueue_scripts hook.

    function my_theme_add_js() {
        wp_enqueue_script( 'jquery' );
    }
    add_action( 'wp_enqueue_scripts', 'my_theme_add_js' );
Viewing 15 replies - 1 through 15 (of 28 total)
  • The topic ‘[Plugin: WP UI – Tabs, Accordions, Sliders] WP UI Not Working With WP 3.4.1’ is closed to new replies.