i have one issue with Category Description text Currently is placed on top of product category, and i want to place it at bottom after products.
class that is control that part is:
.term-description
and want to place here, after all category products:
I found this function:
function woocommerce_taxonomy_archive_description() {
if ( is_tax( array( 'product_cat', 'product_tag' ) ) && get_query_var( 'paged' ) == 0 ) {
$description = wpautop( do_shortcode( term_description() ) );
if ( $description ) {
echo '<div class="term-description">' . $description . '</div>';
}
}
}
but not works.. Can someone to help me with this? i want to move only category desctiption without title at top.
The following hooked function will move only product category description after the loop display:
Code goes in function.php file of your active child theme (or active theme). Tested and works.