=== EPIC Conditional Assets Loader ===
Contributors: workwithepicode 
Tags: performance, optimization, assets  
Requires at least: 5.0 
Requires PHP: 7.4 
Tested up to: 7.0
Stable tag: 1.0.0  
License: GPLv2 or later  
License URI: https://www.gnu.org/licenses/gpl-2.0.html  

Optimize your site performance by conditionally loading or unloading CSS and JavaScript assets only where they are needed.

== Description ==

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

== Installation ==

1. Upload the plugin files to the `/wp-content/plugins/epic-conditional-assets-loader` directory, or install the plugin through the WordPress plugins screen directly.
2. Activate the plugin through the 'Plugins' screen in WordPress.
3. Configure the settings under the "Conditional Assets Loader" menu.

== Frequently Asked Questions ==

= How do I configure the plugin? =  
Navigate to the plugin settings page and specify the conditions for loading assets.

= Is this plugin compatible with all themes? =  
Yes, it works with any theme that follows WordPress coding standards.

== Screenshots ==

1. Rules screen — every active plugin on the site is listed with the number of conditional rules currently applied to it.
2. 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.
3. Plugins with no rules yet show a clear empty state, so adding the first condition is a single click.
4. Settings — enable the frontend debug panel to see which assets were dequeued, and clear the plugin's cache after changing rules.

== Changelog ==

= 1.0.0 =  
* Initial release.

== Upgrade Notice ==

= 1.0.0 =  
Initial release of the plugin.