plugin-icon

Remove jQuery from Theme

Removes jQuery from your frontend theme if no administrator is logged-in. jQuery will still be loaded and continue to work in you backend and when the …
Évaluations
5
Version
1.0
Installations actives
100
Mis à jour récemment
Mar 9, 2021

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');
Gratuitsur les plans payants
En procédant à l’installation, vous acceptez les Conditions d’utilisation de WordPress.com ainsi que les Conditions de l’extension tierce.
Testé jusqu’à version
WordPress 5.6.17
Cette extension est disponible en téléchargement pour votre site .