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

---

Recherche d’extensions

Cette extension **n’a pas été testée avec les3 dernières versions majeures de WordPress**.
Elle pourrait ne plus être maintenue ou supportée et peut présenter des erreurs 
de compatibilité quand elle est utilisée avec des versions récentes de WordPress.

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

# Remove jQuery from Theme

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

[Télécharger](https://downloads.wordpress.org/plugin/remove-jquery.zip)

 * [Détails](https://fr-ca.wordpress.org/plugins/remove-jquery/#description)
 * [Avis](https://fr-ca.wordpress.org/plugins/remove-jquery/#reviews)
 *  [Installation](https://fr-ca.wordpress.org/plugins/remove-jquery/#installation)
 * [Développement](https://fr-ca.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.

## Avis

![](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/) 12 avril 2021

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

 [ Lire l’avis ](https://wordpress.org/support/plugin/remove-jquery/reviews/)

## Contributeurs & développeurs

« Remove jQuery from Theme » est un logiciel libre. Les personnes suivantes ont 
contribué à cette extension.

Contributeurs

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

[Traduisez « Remove jQuery from Theme » dans votre langue.](https://translate.wordpress.org/projects/wp-plugins/remove-jquery)

### Le développement vous intéresse ?

[Parcourir le code](https://plugins.trac.wordpress.org/browser/remove-jquery/), 
consulter le [SVN dépôt](https://plugins.svn.wordpress.org/remove-jquery/), ou s’inscrire
au [journal de développement](https://plugins.trac.wordpress.org/log/remove-jquery/)
par [RSS](https://plugins.trac.wordpress.org/log/remove-jquery/?limit=100&mode=stop_on_copy&format=rss).

## Historique des changements

#### 1.0

 * Initial version.

## Méta

 *  Version **1.0**
 *  Last updated **il y a 5 années**
 *  Active installations **100+**
 *  WordPress version ** 5.0 ou plus **
 *  Tested up to **5.6.17**
 *  Language
 * [English (US)](https://wordpress.org/plugins/remove-jquery/)
 * Tag
 * [jquery](https://fr-ca.wordpress.org/plugins/tags/jquery/)
 *  [Vue avancée](https://fr-ca.wordpress.org/plugins/remove-jquery/advanced/)

## Notes

 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/)

## Contributeurs

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

## Support

Quelque chose à dire ? Besoin d’aide ?

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

## Faire un don

Souhaitez-vous soutenir l’avancement de cette extension ?

 [ Faire un don à cette extension ](https://marc.tv/out/donate)