Viewing 8 replies - 1 through 8 (of 8 total)
  • Hi, which file did you edit to add your above code?

    Thanks, pacificshack! I’m having the same problem but your patch is working for now.
    Cheers

    sdhunt, could you explain what steps you went through to apply the fix? I have not been able to solve it myself, so was hoping to get some more detailed assistance.

    Hi cryogenn,

    All I did was copy pacificshack’s code (actually i just took the second script tag) and pasted it into the header.php file of my theme.

    I did also find that a plugin i was using (Lightbox Gallery) was still conflicting with the dropdown so I removed it.

    I hope that helps!

    Thanks for the reply sdhunt.

    Should I assume that you already have the below line in your header.php file? I checked my directory structure and none of the themes I have installed has a “js” folder. Is this something I have to add myself and if so, where would I get the file from?

    <script type=”text/javascript” src=”https://www.YOURWEBSITE.com/wp-content/themes/MYTHEME/js/jquery-1.10.2.js”></script&gt;

    You’re welcome, cryogenn.

    I found I had jquery already loaded in the wp_head section. In the page source code it looks something like this:

    <script type='text/javascript' src='https://www.YOURWEBSITE.com/wp-includes/js/jquery/jquery.js?ver=1.10.2'></script>

    So, it was going to be redundant to call for another version of it. I’m assuming all 3.6.1 installs should have this as well.

    Okay thanks, I double checked mine and I do not have that code, nor that jQuery file on my server. I’ll have to keep looking for a solution or it would be great if the developer could just fix the issue.

    Anyway, thanks for all your help.

    I solved the problem by deregistering WordPress registered hoverIntent JQuery function, like so:

    wp_deregister_script( 'hoverIntent' );

    I’ve put this just before the enqueuing done by the DropdownMenu plugin, in line 42 of /wp-content/plugins/dropdown-menu-widget/shailan.DropDownMenu.php

    So the code reads:

    wp_deregister_script( 'hoverIntent' ); <= added
    wp_enqueue_script( 'hoverIntent', plugins_url( '/scripts/hoverIntent.js' , __FILE__ ) , array('jquery') );

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘DropDown fixed in WordPress 3.6.1’ is closed to new replies.