I really need help to move the category description to the bottom of the category page between the pagination and the footer?
I have absolutely no idea which file to look for...
Upon activation, simply head over to Posts » Taxonomy Order page to rearrange your WordPress category order. The plugin will simply list all your categories on that page, and you can manually drag and drop to rearrange category order. Simply click on a category and move it up or down.
First, you need to head over to the Posts » Categories page. If you are creating a new category, then you can simply enter the category name and description here and then click on the 'Add new category' button.
add this to the theme functions.php
remove_action( 'woocommerce_archive_description', 'woocommerce_taxonomy_archive_description', 10 );
add_action( 'woocommerce_after_shop_loop', 'woocommerce_taxonomy_archive_description', 100 );
you can also change the layout by adding this function also and change the echo code.
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>';
}
}
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With