Hello!
How can I control which version of jQuery gets loaded into my wordpress header through 'wp_head();'?
Currently it's loading 1.4.4 and I'm running a script that only works with 1.4.2.
Thanks!
Hello!
How can I control which version of jQuery gets loaded into my wordpress header through 'wp_head();'?
Currently it's loading 1.4.4 and I'm running a script that only works with 1.4.2.
Thanks!
How to include jQuery and enqueue scripts in WordPress: http://codex.wordpress.org/Function_Reference/wp_enqueue_script
Probably easier - and a better practice - is to fix the script than change WP's jQuery loading.
Use Firebug with Firefox, or in Chrome or Safar or IE8, use the developer tools to see what's loading on your site and catch the JS errors.
Well, WP loads the version it ships with. The version it is tested with.
You can unenqueue the proper version and enqueue your own I'm sure.
Is an article about enqueuing jquery from google...
http://code.google.com/apis/libraries/devguide.html
has info about google apis
I believe the path to your desired version of jquery would be
https://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js
You must log in to post.