Skip to content

Instantly share code, notes, and snippets.

@kswedberg
Created August 4, 2010 13:22
Show Gist options
  • Save kswedberg/508121 to your computer and use it in GitHub Desktop.
Save kswedberg/508121 to your computer and use it in GitHub Desktop.
// in your active WordPress theme's functions.php file
if (!is_admin()) {
wp_deregister_script('jquery');
wp_register_script('jquery', ("http://code.jquery.com/jquery-latest.min.js"), false, '1.4.2');
wp_enqueue_script('jquery');
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment