How to change Shop page title WooCommerce

By default, WooCommerce names the shop, simply “Shop”. While this generic title is probably adequate for most uses, you might find that you wish to change it to a custom title.

WooC default shop title screenshot - before

There are some ways to change the title, including using translation plugins (that will allow you to “translate” the string “Shop” to what you want), and SEO plugins, such as Yoast SEO, that allows you to change both the shop title and description.

You can even directly modify the shop’s title and slug from the “All Pages” screen on the dashboard, by choosing “Quick Edit” under your “Shop” page. However, if for whatever reason you need to do it programmatically, the following snippet will do the trick:

add_filter( 'woocommerce_page_title', 'woo_shop_page_title');
    function woo_shop_page_title( $page_title ) {
        if( 'Shop' == $page_title) {
            return "Your Replacement Title Here";
        }
    }

WooC default shop title screenshot - after

The above snippet can be copied to your child theme’s functions.php file.

Waqas

I hope you enjoy reading this blog post. If you want my team to do WooCommerce Maintenance for you, click here.

2 thoughts on “How to change Shop page title WooCommerce”

  1. Hello there,

    I have been reading all over the internet about changing the shop title page from Woocommerce. However, somehow my Woocommerce page doesn’t show a title at all. Do you have any idea how I can make the title vissible? You would be a great help!

    Thanks,
    Anne

Leave a Comment

Your email address will not be published. Required fields are marked *