Using Google hosted javascript libraries

To use Google-hosted JavaScript libraries Just add this code to your functions.php file if( !is_admin()){ wp_deregister_script(’jquery’); wp_register_script(’jquery’, (”http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js”), false, ‘1.3.2?); wp_enqueue_script(’jquery’); } Now call your JavaScript file, after the wp_head function in header.php file. Here yourscrip=name of your javascript file.

Continue ReadingUsing Google hosted javascript libraries