Remove Woocommerce Product Category Archive Title
|
/ Documentation /Custom Code Snippets/WooCommerce Filters/ Remove Woocommerce Product Category Archive Title

Remove Woocommerce Product Category Archive Title

When you click on the category of your WooCommerce product, you will be transferred to the archive page. The category archive page will contain all products that belong to this category. If you want to remove the category archive title on the page, this document will help you do it.

Remove the WooCommerce category archive title

How To Remove This?

To remove the category archive title, you must add a filter. You can add the following custom code to the functions.php file of your Child Theme:

# Remove Woocommerce Category Title from the product archive page

add_filter( 'woocommerce_show_page_title', 'remove_category_title_from_product_archive' );
function remove_category_title_from_product_archive( $title ) {
if ( is_product_category() ) {
$title = false;
}
return $title;
}

If you don’t have your Child Theme installed, please check this article on how to do it. 

If you are not sure how to add this code, please check this article.

Was this doc helpful?
What went wrong?

We don't respond to the article feedback, we use it to improve our support content.

Need help? Contact Support
On this page

Download is Just A Click Away!

Enter your email address and be the first to learn about updates and new features.

This field is required.

REWIND

YEAR IN REVIEW

Scroll to Top
Now choose your preferred
page builder addon
Choose your preferred page builder addon

Download is Just A Click Away!

Enter your email address and be the first to learn about updates and new features.

Download Free Astra Theme - Modal Popup Form