Viewing 1 replies (of 1 total)
  • Thread Starter BaharOtat

    (@baharotat)

    Hi again,

    I added this code to the functions.php file in my theme, in order to use previous version of jQuery. worked like a charm ??

    //jQuery Insert From Google
    if (!is_admin()) add_action("wp_enqueue_scripts", "my_jquery_enqueue", 11);
    function my_jquery_enqueue() {
       wp_deregister_script('jquery');
       wp_register_script('jquery', "http" . ($_SERVER['SERVER_PORT'] == 443 ? "s" : "") .
            "://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js", false, null);
       wp_enqueue_script('jquery');
    }

    Thanks to kingkin…

Viewing 1 replies (of 1 total)
  • The topic ‘After update 4.5.1, my plugins dont work’ is closed to new replies.