I updated the jquery collapse o matic plugin this past week and ever since my drop down menu at the top of my pages doesn’t drop down anymore (link at the bottom). I’ve confirmed it’s collapse o matic by deactivating the plugin and reactivating it. Has anyone else had this problem? Is there a way to fix it?
This wasn’t a problem until I updated the plugin, so if there is no way to fix it is there a way to get an older version of the plugin to reinstall?
Any help would be hot,
The reason why this is no longer working, is that the jQuery library is being loaded twice on your page. The last time:
is loading up version 1.4.3, an ancient version of jQuery. As of 1.4.8 only jQuery 1.7 or newer is supported. Either fix this jQuery issue, or roll back to 1.4.7 to get things working again.
Hello Baden I have the same problem can you take a look at my page. How to you fix the 1.4.3 problem is that a file you can just upload and replace ?
Took a look at your site, and at first, the correct version of jQuery is being loaded… but then an ancient version (1.3.2) is being loaded by most likely your theme:
Check your header.php file and see if the above line can be removed.
Thanks Baden… I looked in that location and I had two files in there. One was 1.3.2 and the other was 1.7.1. I deleted the 1.3.2 and it works
but it broke my slider on the home page when I removed the 1.3.2 any suggestions on that?
How do you get your site to call the latest version if the theme developer does not update to often. Is there a way to call from WordPress instead of relying on the theme?
Impossible to update from 1.4.7 to 1.4.8 – simple coded h3 and div with target- prefix are freezed with 1.4.8 – I must “rollback” to .7…
Can you add an option check to disable your jquery if jquery provided in WP is used ?
Scott: it seems that jQuery is stil being loaded twice:
Try preventing your theme from manually loading in jQuery.
Michel: Nice. Without providing a link to your page we can not help you. You might be interested in learning, that the way the plugin is loading jQuery is the recommend method from WordPress: using wp_enqueue_scripts
This means that the plugin will first check if WordPress has already loaded jQuery, and if not, will load jQuery – the default jQuery that came with WordPress, which is now at 1.7.
If, however, you are using a plugin, or a theme that forces jQuery to be loaded in your header, without first checking, or even telling WordPress that it’s loaded… it will cause many problems.
Or, you can just stick with 1.4.7.
Thanks Baden, I ended up editign the header.php to reference 1.7.2 instead of 1.3.2
How to you just have wordpress handle it and not rely on theme file.. I saw the wp enque script and tried to replace that with the call to the assests folder but that did not work
Scott: I think you just need to insert:
<?php wp_enqueue_script('jquery'); ?>
<?php wp_head(); ?>line in header.php
scott. it sounds like the best solution for you is simply roll back to 1.4.7 for now. you will want to look into that slider though… sounds not very future-friendly.
Thanks everyone for the posts. I’ve been looking into trying to re-aquire version 1.4.7 but I’ve so far been unsuccessful. I’ve looked on the plugin page on wordpress and on the developer’s site but there doesn’t seem to be any option to download an old version. Does anyone know where I can get my hands on an older version?
Ah, of course! Thanks Baden, my bad for not checking every single tab. This’ll help alot!
- The topic ‘[Plugin: jQuery Collapse-O-Matic] After updating the plugin, my drop down menus no longer work.’ is closed to new replies.