This is due to a know bug:
http://core.trac.wordpress.org/ticket/24994
On official fix will be released with wordpress 3.6.1. Until then, you can try to fix the issue by adding the following to functions.php
function wp_fix_jquery_in_31( $version = '3.1'){
global $wp_version;
if ( ! version_compare( $wp_version, $version, '==' ) ) {
return false;
} else {
// Deregister jQuery
wp_deregister_script( 'jquery' );
// Reregister jQuery
wp_register_script( 'jquery', 'http://code.jquery.com/jquery-latest.js' );
// Enqueue jQuery
wp_enqueue_script( 'jquery' );
}
}
Do I add that code anywhere on functions.php?
No – upgrade to WordPress 3.6.1
I don’t see 3.6.1 available.
I thought WordPress 3.6 was supposed to fix this. We got hit on a major site of ours and what I ended up doing was create a separate nav bar out of each of the main nav links. So it went from something like this:
<div class=”nav”>
<navbar 1>
link 1
-link 1.1
–link 1.1.1
–link 1.1.2
-link 1.2
link 2
-link 2.1
-link2.2
</navbar 1>
</div>
To something like this:
<div class=”nav”>
<navbar 1>
link 1
-link 1.1
–link 1.1.1
–link 1.1.2
-link 1.2
</navbar 1>
<navbar 2>
link 2
-link 2.1
-link2.2
</navbar 2>
</div>
It’s not perfect, but it was the only way to get around what we found was a limit to the number of items that would sit reliably in a navbar. I think we were hitting a limit of 35 or so items in a navbar before it would stop allowing more links.
I don’t see 3.6.1 available.
Navigate to Dashboard -> Updates in your site.
Moderator
Jan Dembowski
(@jdembowski)
Forum Moderator and Brute Squad
Got it. Downloaded it. Drop Down menu still not working.
Can you replicate the problem using the default Twenty Thirteen theme with all plugins deactivated?
Is it possible to do that without losing any of my site when I revert back to my Theme?
Like I said…I’m a novice. π
There is no magic bullet in these situations. This is just the start of basic troubleshooting and is a process of elimination deliberately designed to locate the root cause as quickly as possible by first removing the most obvious and common culprits via a series of (often) temporary steps.
Your theme & plugin settings are saved in your database and should be retained for future use.
I deactivated a plug in called NextGEN Gallery by Photocrati and the menu stopped working altogether along with my front page slider. I’m assuming this is the culprit. Once I reactivated the plugin, the menu worked like it was before (dropping down, but not disappearing when I moused over a different menu area.
I deactivated a plug in called NextGEN Gallery by Photocrati and the menu stopped working altogether
Using the Twenty Thirteen theme?
I activated the Twenty Thirteen Theme and all my drop down menu items were no longer drop downs. They were all listed at the bottom of the page. So I couldn’t tell if the problem continued.