
Upgrading to the premium plugin allows you to unload unused styles & scripts on extra pages such as:
- Taxonomy pages such as default WordPress’ categories, tags and custom created ones such as products’ categories from WooCommerce.
- Author pages (e.g. the page showing all posts published by a specific author, detected via is_author() function)
- Default WordPress Search Page
- WooCommmerce Search Page (which has the same settings as the actual shop page detected via is_shop() function)
- 404 Page (Not Found): this one has be as light as possible and it’s less likely that many of the CSS and JavaScript files that are needed here (detected via is_404() function)
- Date Archive Page: this is any page that retrieves articles filtered by the date, detected via is_date() function
1.2.1.1 - 20 April 2022
* Fix: 'PHP Warning: Undefined array key "site_url" in [...]/templates/_admin-pages-critical-css/common/_applies-to.php on line 11'
* Fix: Load exceptions via RegEx for CSS/JS weren't always matched in PHP 7.1+
Demo: https://www.gabelivan.com/items/wp-asset-cleanup-pro/