Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Woocommerce: How to remove "Archive" in title?

I'm trying to remove the word "Archive" from the page title.

How to remove it? By adding a filter?

Example:

My collections Archive | My sitename

like image 957
MrRoman Avatar asked Oct 25 '12 19:10

MrRoman


People also ask

How do I remove categories from archive titles in WordPress?

With our themes installed, simply navigate to the Appearance > Theme Options and then click on the General Tab to find the slider options. Once there, simply click the slider to hide or show the category archive title. It's that simple. Make sure you save your changes so that it displays on the website as well!

How do I get rid of archive in WordPress?

Please head to My Sites > Design > Customize > Widgets > Sidebar > Click on the 'Archives' widget and click on 'Delete'.


2 Answers

Best to use Wordpress SEO by Yoast.

Within Titles & Metas go to the Taxonomies tab and update the Title template for Product Categories to remove the word Archive. Mine ended up looking like this:

%%term_title%% %%page%% %%sep%% %%sitename%%

like image 65
Simon Kelly Avatar answered Sep 21 '22 13:09

Simon Kelly


you can rewrite the filter in functions.php so it fails, causing WooCommerce not the render it.

function override_page_title() {
return false;
}
add_filter('woocommerce_show_page_title', 'override_page_title');
like image 42
Ted C Avatar answered Sep 20 '22 13:09

Ted C