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.

Remove jQuery from Theme

ਵੇਰਵਾ

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');

ਸਥਾਪਤੀਕਰਨ

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…

ਅਕਸਰ ਪੁੱਛੇ ਜਾਂਦੇ ਸਵਾਲ

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.

ਸਮੀਖਿਆਵਾਂ

Read all 1 review

ਯੋਗਦਾਨੀ ਤੇ ਵਿਕਾਸਕਾਰ

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

ਯੋਗਦਾਨੀ

“Remove jQuery from Theme” ਦਾ ਆਪਣੀ ਭਾਸ਼ਾ ਵਿੱਚ ਅਨੁਵਾਦ ਕਰੋ।

ਵਿਕਾਸ ਕਾਰਜ ਵਿੱਚ ਰੁਚੀ ਰੱਖਦੇ ਹੋ?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

ਤਬਦੀਲੀ-ਚਿੱਠਾ

1.0

  • Initial version.