wp_back/wp-content/plugins/wp-asset-clean-up/templates/_admin-pages-assets-manager/_custom-taxonomy.php

28 lines
1.6 KiB
PHP
Raw Normal View History

2024-05-20 15:37:46 +03:00
<?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. &#10230; <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 &amp; 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" -&gt; "Categories" -&gt; [Choose the category you want to manage the assets for and click on its name] -&gt; Scroll to "Asset CleanUp Pro" area where you will see the loaded CSS &amp; 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>