WooCommerce PHP Beginner

Remove the WooCommerce Shop Page Title

Last updated: May 6, 2026

WooCommerce outputs a page title at the top of the shop archive and product category pages through its template system. When you’re using a page builder, a theme with custom archive templates, or when you’ve designed a custom shop header with a hero image and typography, this automatically injected title appears as an unwanted duplicate, a plain heading rendered before your carefully designed content, often in the wrong font size or style.

Removing it requires two different approaches because WooCommerce handles the shop page title and taxonomy archive titles through different hooks.

The Code

Add this to your functions.php or a site-specific plugin. Three filter and action hooks cover the full set of WooCommerce archive title output.

woocommerce_show_page_title

This filter specifically controls the title output on the main shop page, the page assigned as the WooCommerce shop in Settings → WooCommerce → Pages. Returning false removes the title from that page. This filter does not affect product category or tag archive titles.

Product Category and Tag Archives

Category and tag archive pages output their title through the woocommerce_archive_description hook, which calls both the term name and the term description. The second and third parts of the snippet target this: woocommerce_taxonomy_archive_description filters the description text to an empty string, and the action hook removes the woocommerce_taxonomy_archive_description function from the woocommerce_archive_description action entirely.

The removal action runs at priority 5 so it fires before WooCommerce’s own hook registration at priority 10, ensuring the removal takes effect in time.

Keeping the Description but Removing the Title

If you want to keep the taxonomy description, the text entered in the Description field when editing a product category, but remove the category name heading above it, remove only the action hook removal from the snippet and keep the woocommerce_taxonomy_archive_description filter that returns an empty string. WooCommerce will still output the description area but with an empty title above it, which your CSS can then handle.

SEO Considerations

Removing the visible title doesn’t affect the HTML document title or the meta title used by search engines, those are controlled by your SEO plugin independently of WooCommerce’s template output. However, the category heading on archive pages does contribute to on-page SEO signals for keyword relevance. If you remove the heading, ensure that your custom header design includes the category name in an h1 or appropriate heading tag so the keyword signal is maintained for search engines.

functions.php
// Remove the title from the shop archive
add_filter( 'woocommerce_show_page_title', '__return_false' );

// Remove the title from product category and tag archives
add_filter( 'woocommerce_taxonomy_archive_description', '__return_empty_string' );
add_action( 'woocommerce_before_main_content', function() {
    remove_action( 'woocommerce_archive_description', 'woocommerce_taxonomy_archive_description', 10 );
}, 5 );

Built by Nahnu Plugins

Need something more powerful than a snippet?

Our commercial plugins go further, built for serious WordPress sites with full support, updates, and documentation included.

Browse All Plugins →

This website uses cookies to enhance your browsing experience and ensure the site functions properly. By continuing to use this site, you acknowledge and accept our use of cookies.

Accept All Accept Required Only