//Making jQuery Google API function modify_jquery() { if (!is_admin()) { // comment out the next two lines to load the local copy of jQuery wp_deregister_script('jquery'); wp_register_script('jquery', 'http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js', false, '1.7.1'); wp_enqueue_script('jquery'); } } add_action('init', 'modify_jquery'); |
How to Resolve Problems jQuery after upgrading to WordPress 3.4
- on 3:59 AM
- No comments
Post a Comment