showing results for - "wordpress not loading jquery"
Caterina
16 Sep 2019
1function include_jQuery() {
2    if (!is_admin()) {
3        // comment out the next two lines to load the local copy of jQuery
4        wp_deregister_script('jquery'); 
5        wp_register_script('jquery', 'http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js', false, '1.8.3'); 
6        wp_enqueue_script('jquery');
7    }
8}
9add_action('init', 'include_jQuery');