jQuery not recognised in template, any suggestions?
-
Hello, i try to apply slideshow jQuery script https://www.motixdesign.com/index2.php
to wordpress, I am trying to make it work, it seems like i put js code
corectly, but for some reason, it cant see any js scripts. i included
those js scripts in js folder in my template and referenced it in
functions.php file as:if ( !is_admin() ) { wp_deregister_script('jquery'); wp_register_script('jquery', ("https://ajax.googleapis.com/ajax/ libs/jquery/1.4.2/jquery.min.js"), false); wp_enqueue_script('jquery'); wp_register_script('hoverIntent', get_bloginfo('template_directory') . "/js/ jquery.hoverIntent.minified.js"); wp_enqueue_script('hoverIntent');
….and so on
anyone has an idea what might cause a problem? thanks for reply
[Please post code snippets between backticks or use the code button.]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘jQuery not recognised in template, any suggestions?’ is closed to new replies.