Using jQuery 1.4 as Default on WordPress

January 19th, 2010 By WP Tricks Posted in Tricks

How to use jQuery 1.4 by default on WordPress, this tricks is useful for some WordPress Developer and need using New Version of jQuery, like we all know, jQuery still using old version jQuery 1.3.x, but if you really need to using latest version pf jQuery, you can try this tricks

Sponsored Links


Open your functions.php and paste this code

if( !is_admin()){
   wp_deregister_script('jquery');
   wp_register_script('jquery', ("http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"), false, '');
   wp_enqueue_script('jquery');
}

With this wordpress tricks, the default wordpress jQuery will be replaced by latest version 1.4 and up that taken from Google Apis, this trick is share by Sean Hayes and I got this nice trick from WP Recipes if you interested to running jQuery on WordPress with smothly, follow this jQuery Conflict Wrapper

Related Posts

  1. Replace jQuery of WordPress with Google AJAX Library
  2. jQuery noConflict wrappers on WordPress
  3. The Right Way to Change The Default Gravatar in WordPress
  4. The Creative Solution to Insert Google Analytics on WordPress

Using jQuery 1.4 as Default on WordPress On The NET

How To Using jQuery 1.4 as Default on WordPress # WordPress Tricks ...

How to use jQuery 1.4 by default on WordPress, this tricks is useful for some WordPress Developer and need using New Version of jQuery, like we all know, jQuery still using old ... read more

Source: http://wptricks.net/using-jquery-as-default-on-wordpress/

jQuery noConflict wrappers on WordPress # WordPress Tricks & Tips

How To Using jQuery 1.4 as Default on WordPress # WordPress Tricks ... jQuery noConflict wrappers on WordPress; The Right Way to Change The Default Gravatar in WordPress; The ... read more

Source: http://wptricks.net/jquery-noconflict-wrappers-on-wordpress/

How to use jQuery 1.4 by default on your WordPress blog

WordPress Picks for the Week [01/24] | Techtites; How to use jQuery 1.4 by default on your WordPress blog | Designers' Digest; 5 Cool Hacks and Tutorials Using WordPress and jQuery ... read more

Source: http://www.wprecipes.com/how-to-use-jquery-1-4-by-default-on-your-wordpress-blog

JQuery # WordPress Tricks & Tips

How to use jQuery 1.4 by default on WordPress, this tricks is useful for some WordPress Developer and need using New Version of jQuery, like we all know, jQuery still using old ... read more

Source: http://wptricks.net/tag/jquery/

Tricks # WordPress Tricks & Tips

How to use jQuery 1.4 by default on WordPress, this tricks is useful for some WordPress Developer and need using New Version of jQuery, like we all know, jQuery still using old ... read more

Source: http://wptricks.net/tag/tricks/


Amazing Touch


2 Comments

  1. Thanks for sharing this, this solved a issue for me

    +1

  2. Thanks! Stopped jQuery from loading twice; once the “proper way” that weighed 10x google’s api method.


2 Trackbacks


Add Your Comment

Gravatar