Back to Performance

Script Manager

Switch off a plugin or theme script or stylesheet on the pages that do not need it.

Updated

Many plugins load their scripts and styles on every page, including pages where they do nothing. The Script Manager lets you stop a script or stylesheet from loading where it is not needed.

Where it is

Open a site and choose the Script Manager tab. It needs the plugin. The list shows the scripts and styles the site enqueues, each with its handle and address.

What you can do with an asset

  • Disable everywhere (global) stops it loading on the whole site
  • Or disable it only for chosen post types, chosen pages and posts, or chosen paths

Be careful

Disabling an asset a page depends on breaks that page. Disable one asset at a time, check the affected pages in a private window, and switch the asset back on if something is missing. Changes take effect on the next page load; clear the site's page cache if you use one.

Who can change it

Owners, Admins and Developers.

Something wrong or missing on this page?

Tell us what did not match what you saw, and we will correct the article.

More in Performance