There are many snippets on the internet but many are out of date… so this is how to completely hide the Shop Page title in WooCommerce (plus: how to hide the title on WooCommerce Category and Tag pages). Enjoy!
PHP Snippet 1: Remove Title @ WooCommerce Shop Page
/**
* @snippet Remove shop page title - WooCommerce Shop
* @how-to businessbloomer.com/woocommerce-customization
* @author Rodolfo Melogli, Business Bloomer
* @compatible WooCommerce 6
* @community https://businessbloomer.com/club/
*/
add_filter( 'woocommerce_show_page_title', 'bbloomer_hide_shop_page_title' );
function bbloomer_hide_shop_page_title( $title ) {
if ( is_shop() ) $title = false;
return $title;
}
PHP Snippet 2: Remove Title @ WooCommerce Product Category Pages
/**
* @snippet Remove cat page title - WooCommerce Cat pages
* @how-to businessbloomer.com/woocommerce-customization
* @author Rodolfo Melogli, Business Bloomer
* @compatible WooCommerce 6
* @community https://businessbloomer.com/club/
*/
add_filter( 'woocommerce_show_page_title', 'bbloomer_hide_cat_page_title' );
function bbloomer_hide_cat_page_title( $title ) {
if ( is_product_category() ) $title = false;
return $title;
}
PHP Snippet 3: Remove Title @ WooCommerce Product Archive Pages (Shop, Category, Tag, etc.)
/**
* @snippet Remove page title from all WooCommerce archive pages
* @how-to businessbloomer.com/woocommerce-customization
* @author Rodolfo Melogli, Business Bloomer
* @compatible WooCommerce 6
* @community https://businessbloomer.com/club/
*/
add_filter( 'woocommerce_show_page_title', '__return_null' );
Unfortunately it also doesn’t work for me. Ive tried to hook into “woocommerce_before_main_content”, “woocommerce_archive_description” and “woocommerce_show_page_title” all day but nothing shows up. All other parts of the woocommerce structure can be edited no issue.
Could it be related to some special permalink settings? Its the only thing I can imagine at this point.
Does it work with a different theme?
it’s not working.
Even if you try with a different theme?
Hi i need some assistance with this on my shop also , i would prefer to have the woocommerce page titles moves down but if this cannot be achieved i think that removing it will be okay also
Which snippet did you try?
Hi Rodolfo!
Yes! It works.
But on the pages remain
That is, deleting the “Shop” title should be followed by editing the archive-product.php template.
I think that it would be more correct to change the Title, and not delete it.
Sure, thanks about that!
Hi
Thanks for the code.
It works on the shop page, but not on the other because I need to add som br tags to move down products a little. But the category pages are created in runtime so I can’t add br them. So the result is that a part of the first row of articles are hidden under the menu and header. I use a theme called Shopisle.
Hi Peter, maybe you can use some CSS there instead?