Replace shop page title

Using this block of code you can quickly replace the title of your shop. Just substitute the return value with your preferred name.

add_filter( ‘woocommerce_page_title’, ‘shop_page_title’);
function shop_page_title($title ) {
 if(is_shop()) {
 return “My new title”;
 return $title;
See also  Change number of products display in WooCommerce product listing page

Leave a Reply

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