Created
January 11, 2013 22:39
-
-
Save zenman/4514584 to your computer and use it in GitHub Desktop.
Enqueue your own version of jquery for WordPress.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* This can go right above wp_head(); in header.php */ | |
wp_deregister_script('jquery'); | |
wp_register_script('jquery', 'http://code.jquery.com/jquery-1.7.1.min.js'); | |
wp_enqueue_script('jquery'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment