Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function kl_woocommerce_taxonomy_archive_description() {
- if ( is_tax( array( 'product_cat', 'product_tag' ) ) && get_query_var( 'paged' ) != 0 ) {
- $description = wc_format_content( kl_description() );
- if ( $description ) {
- echo '<div class="kl-description">' . $description . '</div>';
- }
- }
- }
- add_action( 'woocommerce_archive_description', 'kl_woocommerce_taxonomy_archive_description');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement