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 pages). Enjoy!

Hide the WooCommerce Shop Page title

PHP Snippet 1: Remove Title @ WooCommerce Shop Page

/**
 * @snippet       Remove shop page title - WooCommerce Shop
 * @how-to        Get CustomizeWoo.com FREE
 * @author        Rodolfo Melogli
 * @compatible    WooCommerce 3.5.7
 * @donate $9     https://businessbloomer.com/bloomer-armada/
 */

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        Get CustomizeWoo.com FREE
 * @author        Rodolfo Melogli
 * @compatible    WooCommerce 3.5.7
 * @donate $9     https://businessbloomer.com/bloomer-armada/
 */

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        Get CustomizeWoo.com FREE
 * @author        Rodolfo Melogli
 * @compatible    WooCommerce 3.5.7
 * @donate $9     https://businessbloomer.com/bloomer-armada/
 */

add_filter( 'woocommerce_show_page_title', '__return_null' );
Share:

Leave a Reply