Change title shop page


How can I change the title of the shop page? The title is now ‘Archives:products’. I’ve already tried to change the title with Yoast!, but that didn’t work.

Thanks for your help.

Hi @aartje,

I hope you are well today and thank you for your question.

You can try achieving this by using the attached small plugin specially developed for you that contains following custom code.

function custom_get_the_archive_title( $title ){
        $title = 'Products';
    return $title;
add_filter( 'get_the_archive_title', 'custom_get_the_archive_title' );

Please change the text ‘Products’ in the above plugin code to whatever you want to display in place of ‘Archives:products’.

Best Regards,

This does not work. What it does, though, is changes the title from Archives:products to Blog. No way to change it to anything else, though. Do you have any fix for this?

Thank you for your help.

@alarmister To help us keep support thread separates could you please create your own thread for your question here instead of replying on others thread as it makes the thread messy and hard to read.

If you want to you can also add reference of this thread in your newly created thread.

We would be more than happy to help you on your new thread.