How to Change WooCommerce Shop Page Title

The default Shop page for WooCommerce online store will show the “Shop” at the top of products row. In this tutorial, i will demonstrate 2 code snippets to update or hide the page title for default WooCommerce Shop page.

WooCommerce Default Shop Page Title

WooCommerce Default Shop Page Title

Option 1 : Change Shop Page Title

In order to change the title from “Shop” to any title, you can put below code to your  end of your theme functions.php file (in your theme folder):

add_filter( 'woocommerce_page_title', 'custom_woocommerce_page_title');
function custom_woocommerce_page_title( $page_title ) {
  if( $page_title == 'Shop' ) {
    return "WooCommerce Demo Products";

Refresh (F5) Woocommerce Shop Page, you can see it’s changed:

WooCommerce Custom Shop Page Title

WooCommerce Custom Shop Page Title

Option 2 : Hide Shop Page Title

If you want to hide the “Shop” page title, you can put below code to your theme functions.php (in your theme folder):


Refresh (F5) Woocommerce Shop Page, you can see Shop Page Title is lost:

Hide WooCommerce Shop Page Title

Hide WooCommerce Shop Page Title

Hope above snippets can help you to customize your shop easily. Cheers!

0 0 vote
Article Rating
Notify of
Inline Feedbacks
View all comments
5 years ago

Hi, thanks for the info you shared with us..
i have a problem ith my woocommerce installation, i coul not translate the shop page title in different languages so i preferred to hide it, but if you know any solution to translate page title and labels in woocommerce please let me know.
thanks a lot

Nidhi jain
Nidhi jain
4 years ago

It’s not working!

The correct function is:

function woo_hide_page_title() {
	return false;
3 years ago
add_filter('woocommerce_show_page_title', create_function('$result', 'return false;'), 20);

IS the function I use to strip this. I put it inside a conditional to decide where to apply it if I am removing the WooCommerce title. This was the only way I could make it work with Genesis anyway.

Hotel travel
3 years ago

May I simply just say what a relief to discover a person that genuinely knows what
they are talking about on the internet. You definitely realize how to bring a problem to light and make it important.
A lot more people must look at this and understand this side of your story.
I can’t believe you are not more popular given that you surely have
the gift.

Steve Green
Steve Green
3 years ago

My website has double headers on each page. The first header is ok but the second header which generated by Woocommerce is hidden by CSS ‘display:none;’. I wanna remove the Woocommerce header but when I’ve tryed to insert your code:

but this is calls an Error:
Warning: call_user_func_array() expects parameter 1 to be a valid callback, no array or string given in /web1/ on line 274

Try to find ‘h1’ in a code:

What did I do wrong?

Would love your thoughts, please comment.x