Himas Rafeek
Posted on: 1 year ago
CSS

Load latest version of jQuery from Google Libraries API and de-register WordPress version

Load latest version of jQuery from Google Libraries API and de-register WordPress version


                                          if( !is_admin()) {
     wp_deregister_script('jquery');
    wp_register_script('jquery', ("http: //ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"), false, '1.7.2');
    wp_enqueue_script('jquery');
}