Revision: 29896
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at August 5, 2010 01:07 by jonkemp
Initial Code
if ( !is_admin() ) { // instruction to only load if it is not the admin area // LOAD JQUERY wp_enqueue_script('jquery'); // LOAD EXTERNAL LIBRARY wp_enqueue_script('jquery-ext', 'http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js'); }
Initial URL
http://codex.wordpress.org/Function_Reference/wp_enqueue_script
Initial Description
This code adds the specified library to the header in WordPress unless you are in the admin section.
Initial Title
Load JavaScript Libraries in WordPress
Initial Tags
php, wordpress
Initial Language
PHP