28 lines
1.6 KiB
PHP
28 lines
1.6 KiB
PHP
<?php
|
|
/*
|
|
* No direct access to this file
|
|
*/
|
|
if (! isset($data)) {
|
|
exit;
|
|
}
|
|
|
|
$baseNamePageType = str_replace('.php', '', basename(__FILE__));
|
|
$baseNamePageType = trim($baseNamePageType, '_');
|
|
?>
|
|
<div style="margin: 25px 0 0;">
|
|
<p><?php echo wp_kses(
|
|
str_replace('[wpacu_chosen_page_type]', $baseNamePageType, $data['locked_for_pro']),
|
|
array('span' => array('class' => array()), 'a' => array('href' => array()))
|
|
); ?></p>
|
|
<hr />
|
|
|
|
<p>Popular examples: 'product_cat' created by WooCommerce, 'download_category' created by Easy Digital Downloads etc. ⟶ <a target="_blank" href="https://wordpress.org/support/article/taxonomies/"><?php _e('read more', 'wp-asset-clean-up'); ?></a></p>
|
|
|
|
<strong>How to retrieve the loaded styles & scripts?</strong>
|
|
|
|
<p style="margin-bottom: 0;"><span class="dashicons dashicons-yes" style="color: green;"></span> If "Manage in the Dashboard?" is enabled:</p>
|
|
<p style="margin-top: 0;">Go to "Products" -> "Categories" -> [Choose the category you want to manage the assets for and click on its name] -> Scroll to "Asset CleanUp Pro" area where you will see the loaded CSS & JavaScript files.</p>
|
|
<hr />
|
|
<p style="margin-bottom: 0;"><span class="dashicons dashicons-yes" style="color: green;"></span> If "Manage in the Front-end?" is enabled and you're logged in:</p>
|
|
<p style="margin-top: 0;">Go to the product category's page permalink ("View" link under its name in the Dashboard list) such as <code>//www.yoursite.com/product-category/clothing/</code> where you want to manage the files and scroll to the bottom of the page where you will see the list.</p>
|
|
</div>
|