I am working on a site that uses jQuery for a number of functions but I am having a repeating error:
hoverIntent is not a function
I have referenced similar questions on this forum and they almost universally say that it is due to multiple references to jQuery, however, I have carefully reviewed the code and the source code and cannot find any duplicate references.
There is just this one in functions.php
// Load jQuery
if ( !is_admin() ) {
wp_deregister_script('jquery');
wp_register_script('jquery', ("http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"), false);
wp_register_script('jquery', ("js/jquery.dropmenu.js"), false);
wp_register_script('jquery', ("js/jquery.dropmenu2.js"), false);
wp_enqueue_script('jquery');
}
I would really appreciate another set of eyes to help pinpoint and resolve this dilemma.