0

I have tried the same with a clean WordPress and Woo-Commerce installation. The default meta title of the shop page is "Products".

Editing the page title is not changing the meta title.

I had tried to edit it using functions.php with the following code, still the default title is not changing.

add_filter( 'woocommerce_page_title', 'new_woocommerce_page_title');
  
function new_woocommerce_page_title( $page_title ) {
  
  if( $page_title == 'Products' ) {
  
    return "New Shop Title";
  
  }
  
}

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.