If you describe the WooCommerce category or the news category, it will help with better search engine optimization (SEO). However, if the description is too long, it will make it difficult for readers, they have to scroll through this piece of content to get to the content to read. So, introduces the simple code below to help move the category description to the bottom of the page.
WordPress – Move category description to bottom of page
Move category description from top to the bottom
Add this code to the function.php of the active theme/child theme.
remove_action( ‘woocommerce_archive_description’, ‘woocommerce_taxonomy_archive_description’, 10 );
add_action( ‘woocommerce_after_shop_loop’, ‘woocommerce_taxonomy_archive_description’, 100 );
- News category
- WooCommerce Product Catalog
In addition to this, many of you use the Advanced Custom Fields (ACF) plugin to add a field below the product category description.