CONNECTwww.com

0

Adding jQuery in WordPress

load up jQuery in your theme Put the following code in your header.php file in the section: Call the wp_enqueue_script function before the wp_head function.Now call your own jQuery JavaScript file, after the wp_head...

0

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....