Title: Remove jQuery from Theme
Author: Marc Tönsing
Published: <strong>March 9, 2021</strong>
Last modified: March 9, 2021

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/remove-jquery.svg)

# Remove jQuery from Theme

 By [Marc Tönsing](https://profiles.wordpress.org/marcdk/)

[Download](https://downloads.wordpress.org/plugin/remove-jquery.zip)

 * [Details](https://test.wordpress.org/plugins/remove-jquery/#description)
 * [Reviews](https://test.wordpress.org/plugins/remove-jquery/#reviews)
 *  [Installation](https://test.wordpress.org/plugins/remove-jquery/#installation)
 * [Development](https://test.wordpress.org/plugins/remove-jquery/#developers)

 [Support](https://wordpress.org/support/plugin/remove-jquery/)

## Description

Removes jQuery from your frontend theme if no administrator is logged-in. jQuery
will continue to work in you backend and when the admin toolbar is visible. Plugins
which depend on jQuery will not be loaded either.

This plugin does nothing more but this:

    ```
    function init_without_jquery() {
        if (!is_admin() AND !is_admin_bar_showing()) {
            wp_deregister_script('jquery');
            wp_register_script('jquery', false);
        }
    }

    add_action('init', 'init_without_jquery');
    ```

## Installation

Remove jQuery can be found and installed via the Plugin menu within WordPress administration(
Plugins -> Add New). Alternatively, it can be downloaded from WordPress.org and 
installed manually…

## FAQ

### Why did you do this?

Because I needed a simple plugin to do this job and decided to do it on his own.
WordPress frontends are is much faster without jQuery.

### jQuery is still loading! The plugin does not work!

You are most likely logged-in as administrator and the admin topbar is visible. 
Many plugins rely on jQuery for backend features. So I kept it enabled for the admin
topbar, too.

## Reviews

![](https://secure.gravatar.com/avatar/646a9b3e06d09e33f6820c51be9c9459e1df4e57e9f76e0c2e8e95b6ff861ef9?
s=60&d=retro&r=g)

### 󠀁[Does what it promises. Perfectly!!!](https://wordpress.org/support/topic/does-what-it-promises-perfectly/)󠁿

 [acelerawp](https://profiles.wordpress.org/acelerawp/) April 12, 2021

Thank You so much to the developer for this useful plugin. All the Best, Miguel

 [ Read all 1 review ](https://wordpress.org/support/plugin/remove-jquery/reviews/)

## Contributors & Developers

“Remove jQuery from Theme” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Marc Tﾃｶnsing ](https://profiles.wordpress.org/marcdk/)

[Translate “Remove jQuery from Theme” into your language.](https://translate.wordpress.org/projects/wp-plugins/remove-jquery)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/remove-jquery/), check
out the [SVN repository](https://plugins.svn.wordpress.org/remove-jquery/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/remove-jquery/) 
by [RSS](https://plugins.trac.wordpress.org/log/remove-jquery/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0

 * Initial version.

## Meta

 *  Version **1.0**
 *  Last updated **5 years ago**
 *  Active installations **100+**
 *  WordPress version ** 5.0 or higher **
 *  Tested up to **5.6.17**
 *  Language
 * [English (US)](https://wordpress.org/plugins/remove-jquery/)
 * Tag
 * [jquery](https://test.wordpress.org/plugins/tags/jquery/)
 *  [Advanced View](https://test.wordpress.org/plugins/remove-jquery/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/remove-jquery/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/remove-jquery/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/remove-jquery/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/remove-jquery/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/remove-jquery/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/remove-jquery/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/remove-jquery/reviews/)

## Contributors

 *   [ Marc Tﾃｶnsing ](https://profiles.wordpress.org/marcdk/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/remove-jquery/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://marc.tv/out/donate)