Remove WordPress default jQuery from front end

We can remove default wordpress jQuery from the frontend so that to avoid conflict with the jQuery in the theme. In order to remove the default jQuery add the following code in the function.php file in the theme folder.

add_action('wp_enqueue_scripts', 'no_more_jquery');
function no_more_jquery(){
    wp_deregister_script('jquery');
}

2 thoughts on “Remove WordPress default jQuery from front end”

    • Hi,

      I can see some of the images in your website is not loading from https url, its using the http protocol.

      If you want your website completely ssl enabled, all the source files (src) files should be called using https protocol.

      Reply

Leave a Comment