BACK TO DIRECTORY

EPIC Conditional Assets Loader

by workwithepicode

5.0
(1 ratings)

Conditional Assets Loader helps improve performance by allowing you to selectively load or unload CSS and JavaScript files on specific pages, posts, or conditions.

Includes a debug panel to inspect loaded assets and identify unnecessary scripts for optimization.

Features

  • Conditionally load assets per page
  • Detect scripts/styles per plugin
  • Built-in debug panel
  • Supports blocks and shortcodes

Screenshots

Rules screen — every active plugin on the site is listed with the number of conditional rules currently applied to it.

Rules screen — every active plugin on the site is listed with the number of conditional rules currently applied to it.

Per-plugin rule builder — load a plugin's styles and scripts ONLY on the pages you choose. Conditions can target a Page, Block, Page Template, Post Template or Shortcode, and multiple rules are combined with OR.

Per-plugin rule builder — load a plugin's styles and scripts ONLY on the pages you choose. Conditions can target a Page, Block, Page Template, Post Template or Shortcode, and multiple rules are combined with OR.

Plugins with no rules yet show a clear empty state, so adding the first condition is a single click.

Plugins with no rules yet show a clear empty state, so adding the first condition is a single click.

Settings — enable the frontend debug panel to see which assets were dequeued, and clear the plugin's cache after changing rules.

Settings — enable the frontend debug panel to see which assets were dequeued, and clear the plugin's cache after changing rules.

Plugin Details

Active Installs
0
Total Downloads
115
Version
1.0.0
Requires WP
5.0
Requires PHP
7.4
Tested Up To
7.0.4
Added
2026-08-18
Last Updated
2026-08-18 2:10pm GMT

Ratings

5
1
4
0
3
0
2
0
1
0