Assets
Scripts and styles only where they are needed
Most plugins load their CSS and JavaScript on every page, even where their feature never appears. Assets lets you remove a specific script or style on exactly the pages where it is not needed - using the standard WordPress enqueue system, with no page-builder lock-in.
Works with
See it in action
Every page carries someone else's weight
A contact-form script on your checkout, a slider stylesheet on your blog posts, a social-share bundle on your privacy policy. That weight slows every visit, even though the feature never appears there.
- ✗ Plugins load CSS and JS everywhere, not just where they run
- ✗ More requests and heavier pages mean slower loads
- ✗ Hand-removing from functions.php is fragile and easy to lose
- ✗ Page builders do the same but lock you into their ecosystem
Assets removes exactly what you tell it to
- ✓ Type the handle of the script or style to remove
- ✓ Choose where: everywhere, front page, blog, single posts by ID, mobile or desktop
- ✓ Handle hints drawn from the ones registered on your site
- ✓ Runs late on the front end, never in the admin
What you get in the free version
Precise script and style removal, built on WordPress core.
Remove any handle
Type the name of a registered script or style and Assets removes it from the front end.
Per-page conditions
Everywhere, the front page, the blog index, single posts/pages by ID, or mobile-only / desktop-only.
Handle hints
Autocomplete from the handles registered on your site, instead of guessing names.
Plain core
Uses wp_dequeue_script / wp_dequeue_style, with no proprietary format and no lock-in.
Front end only
Rules apply on the front end only; the admin is left untouched.
No WooCommerce
Works on any theme and any WordPress site; a store is not required.
Live in three steps
After activation, just add a rule and check the front end.
Install
Activate Assets - WooCommerce is not required.
Add a rule
Open the Plogins Assets menu, type a handle, pick script or style and a condition.
Save and check
Save the rules and check the front end, changing one rule at a time.
Which sites it suits
When you want lighter pages without rewriting your theme.
WooCommerce stores
Drop cart fragments and block styles from pages that have no cart or products.
- ✓ Front page
- ✓ Blog posts
- ✓ Info pages
Blogs and content sites
Remove form and slider scripts from posts that do not use them.
- ✓ By post ID
- ✓ Script or style
- ✓ No code
Mobile optimisation
Remove heavier assets on mobile devices only, where every kilobyte counts.
- ✓ Mobile condition
- ✓ Lighter front end
- ✓ WordPress core
Support and resources
Every plugin has its own documentation with setup walkthroughs. Bugs and questions go to the public GitHub repository for that plugin, we answer in the open.
Frequently asked questions
How do I find a handle name?
Open the page, view source or the Network tab, and look at the id attribute of the script/link tags - it usually ends in -js or -css. The settings screen also offers autocomplete from the handles registered on your site.
Will this break my site?
It only removes what you configure. If a handle you remove is a dependency of another script, that other script may stop working. Change one rule at a time and verify the front end; removing a rule restores the asset instantly.
Does it work without WooCommerce or a page builder?
Yes. It uses WordPress core functions only and works on any theme.
Do rules run in the admin?
No. Rules apply on the front end only.
Does Assets minify or combine files?
No. It removes exactly what you tell it to - nothing automatic, nothing hidden.
Lighten your pages
Remove scripts and styles from the pages that do not need them, on plain WordPress core. Full FREE edition under GPL.
View on GitHubThe free edition is the full conditional asset loading, with no account and no external services.