Disable Scripts Per Post
Control exactly which CSS and JS files load on each post or page. Scan, match, and disable with one click.
100% free \u00b7 Per-page control \u00b7 Wildcard & regex \u00b7 Built-in scanner
Why Control Scripts on a Per-Page Basis?
Most WordPress sites load every plugin’s CSS and JS on every page \u2014 even pages that don’t use them. This wastes bandwidth, slows load times, and hurts Core Web Vitals. Disable Scripts Per Post lets you scan each page, see exactly what is loading, and disable unnecessary assets with one click.
Key Features
Powerful Script Control
\u1f50d
Built-in Script Scanner
View every CSS and JS file loaded on any page. See file size, source, and type \u2014 all from the WordPress editor.
\u1f3af
Three Match Modes
Exact URL matching, wildcard patterns (*.css), and full regex support. Target specific files or entire plugin directories.
\u1f4c4
Per-Page & Global Rules
Set rules for individual pages or apply globally. Disable Contact Form 7 CSS everywhere except your contact page.
Safe & Easy to Use
\u1f9ea
Test Mode
Preview changes before going live. Test mode shows what would be disabled without affecting visitors.
\u23ea
Easy Rollback
Rules are reversible with one click. No permanent changes \u2014 disable or re-enable scripts anytime.
\u1f5a5\ufe0f
Frontend Toolbar
Quick-access toolbar on the frontend for logged-in admins. Toggle scripts without visiting wp-admin.
Compatibility
Works with every WordPress theme and plugin. No conflicts with caching plugins, CDNs, or performance optimization tools. Tested with GeneratePress, Astra, Kadence, WP Rocket, Perfmatters, and all major plugins.
Disable Scripts Per Post vs Perfmatters Script Manager
Perfmatters is the industry-standard WordPress performance plugin with a built-in Script Manager. Disable Scripts Per Post is a lightweight, free alternative focused exclusively on script control. Here’s how they compare:
| Feature | Disable Scripts Per Post | Perfmatters Script Manager |
|---|---|---|
| Price | Free | $24.95/yr (1 site) |
| Per-Page Script Control | \u2705 | \u2705 |
| Global Script Rules | \u2705 | \u2705 |
| Exact URL Matching | \u2705 | \u2705 |
| Wildcard Matching | \u2705 | \u2705 |
| Regex Matching | \u2705 | \u2705 |
| Built-in Scanner | \u2705 | \u2705 |
| Test Mode | \u2705 | \u274c |
| Frontend Toolbar | \u2705 | \u274c |
| Database Optimization | \u274c | \u2705 |
| Lazy Loading | \u274c | \u2705 |
| Local Fonts Hosting | \u274c | \u2705 |
| Heartbeat Control | \u274c | \u2705 |
| Plugin Weight | <3KB | ~50KB |
\u1f4a1 Our recommendation: If you only need script control, Disable Scripts Per Post is the better free option. If you want an all-in-one performance suite (database optimization, lazy loading, heartbeat control, local fonts), Perfmatters is worth the investment. Many of our users run both \u2014 use Disable Scripts Per Post for fine-grained per-page control and Perfmatters for site-wide performance optimization.
How to Install & Set Up Disable Scripts Per Post
Get started in under 5 minutes:
1
Step 1 \u2014 Install from WordPress.org \u2014 Plugins \u2192 Add New and search for “Disable Scripts Per Post”.
2
Step 2 \u2014 Activate the plugin.
3
Step 3 \u2014 Edit any page \u2014 use the Script Scanner panel in the editor sidebar to see loaded assets.
4
Step 4 \u2014 Click to disable \u2014 select files to remove and save. Changes apply immediately.
Frequently Asked Questions
Will this break my site if I disable the wrong script?
Use Test Mode first to preview changes before going live. All rules are reversible with one click \u2014 you can re-enable any disabled script instantly. We recommend testing on a staging site when making large changes.
Can I disable scripts from specific plugins site-wide?
Yes. Use wildcard patterns like */plugin-name/* to match entire plugin directories. For example, disable all Contact Form 7 assets everywhere except on your contact page.
How is this different from Perfmatters Script Manager?
Perfmatters Script Manager is a premium feature (requires paid license) and is part of a broader performance suite. Disable Scripts Per Post is 100% free and focused solely on script control. See the comparison table below for a detailed breakdown.
Does this plugin itself add overhead to my site?
Under 3KB total. The scanner and frontend toolbar are admin-only \u2014 zero performance impact on your visitors. The plugin only loads its own assets for logged-in administrators.
Does this work with page builders like Elementor?
Yes. The scanner detects all enqueued scripts regardless of the page builder. Elementor, Gutenberg, Divi, and Beaver Builder are all fully supported.
\u1f680 Ready to Optimize Your Scripts?
Download Disable Scripts Per Post free from WordPress.org. No registration, no credit card, no upsells.