Remove Category Description From Taxonomy Archives

This is a Developer Level doc.

If you're unfamiliar with PHP and/or editing files, codes and templates, as well as with resolving possible conflict, please seek help from a professional. Under our Support Policy, we don't provide support for modifications and customization.

Important: Use this code ONLY if you wish to change the default position of the category description, which is displayed at the top of the content. Otherwise, you can disable the Category Description from displaying via Customize > WooCommerce > Archives.

To remove the WooCommerce category description from taxonomy archives and in order to place the description in a different spot using other custom codes, add the following PHP snippet:

remove_action( 'woocommerce_archive_description', 'woocommerce_taxonomy_archive_description', 10 );

All PHP snippets should be added via a child theme's functions.php file.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.