Changing the title of the categories archive pages

Note : the following code snippet requires advanced WordPress developer skills. There's no guarantee that this snippet works as is with the latest version of our themes, and with the latest version of WordPress. That's why you need to always test any code snippets in a staging environment before implementing it in a production site.

Customizr includes some useful filters if you need to customize your category archives titles.


Changing the default prefix : “Category Archives :”


Changing the heading of a specific category’s archives page

Note : A new set of options has been included since Customizr 3.3.14 and Customizr-Pro 1.1.0 to change Category/Tag/Author/Search archives titles. Navigate to Appearance -> Customize -> Content : home, posts, grid, … -> Post lists : blog, archives, grid, … -> ARCHIVE TITLES and enjoy customize them in a live preview!

Just replace “my_cat_name” with the name of the desired category.


Where to copy/paste this code? The following code has to be pasted in your functions.php file. I strongly recommend that you create a child theme. Download a start-up child theme here.

Everything you need to know about child theme with Customizr here.

Related Snippets you may also like

20 thoughts on “Changing the title of the categories archive pages

  • Thomas A. Reinert

    Hi Nicolas,
    your (first) solution indeed works fine for normal post archives. But there is (at least seems to be) no chance to get rid of the “Archive:” prefix when you´re using custom posts getting queried in its own archive-template.

    Situation as follows:
    1.) I got a custom post type named “portfolio”
    2.) Set up a heavily modified “archive-portfolio.php” to query custom post types with

    $args = array(
    ‘posts_per_page’ => -1,
    ‘post_type’ => ‘portfolio’

    3.) Inserting the first code example on top doesn´t really help – “Archives:” still showing up :/

    I´m using the latest (free) Customizr Version. I can also post a gist or whatever of the full code of the custom archive-template if that helps..
    Thanks in advance for any help!

  • Erin

    Can’t get this to work. It shows “category archives: title”. I want to get rid of the Category Archives part. I’ve downloaded the child theme and installed it and followed all instructions above but am fairly
    frustrated as none of this is working. Can you please provide me with
    another method to get rid of or change “category archives”.

  • Denys

    What template are you finding this stuff in? I have tried removing code in the past and I cannot remove the archive tag from search results.

  • Kiko Arquer Thomé

    Esta foi a melhor forma de excluir a “cathegory archieves” usando o Child Theme, tema da Customizr.
    Testei inúmeras formas, então coloquei o código:

    (add_filter(‘tc_category_archive_title’ , ‘my_cat_title’);
    function my_cat_title($title) {
    return ‘My archives title for : ‘;
    Depois segui o caminho TEMA–> Aparência. –> Customize -> Content : home, posts, grid, …
    Rolei até ARCHIVE TITLES e apaguei a Category pages titles, a Tag pages titles, a Author pages titles e a Search results page titles.

    Pronto. Obrigado Nicolas Guillaume

  • mohit ppcexpert

    I want to change the default meta title with customizr theme like if my category is SEO then I don’t want to see the in title : SEO archives . what I do?
    I success fully remove “Category Archives :” from header but not from meta title.

  • Fred

    Hi Nicolas,

    Thank you for your prompt reply!

    Unfortunately it still doesn’t work. Probably I’m doing something wrong. This is my changed code (renamed the function and filter):

    add_filter(‘tc_category_archive_title’ , ‘my_cat_title’);
    function my_cat_title($title) {
    return ‘XXXXXXX : ‘;
    add_filter(‘tc_tag_archive_title’ , ‘my_cat_title1’);
    function my_cat_title1($title) {
    return ‘XXXXXXXX : ‘;

    Can you give an example of the proper code?

    Best regards,

  • Fred

    Hi Nicolas,

    Thank you for this great theme! Maybe you can help me? What am I doing wrong when i put this code in the functions.php? I’ll receive a blanc page. I’m using the category and tag filter at the same time.

    Best regards,

    add_filter(‘tc_category_archive_title’ , ‘my_cat_title’);
    function my_cat_title($title) {
    return ‘XXXXXXX : ‘;
    add_filter(‘tc_tag_archive_title’ , ‘my_cat_title’);
    function my_cat_title($title) {
    return ‘XXXXXXXX : ‘;

  • Sara

    Hi Nicholas:
    does this code work as well as for “title” metatag? I founf out google indexes archives pages as “archives + my archives category”. How do I cut off “archives” from the title?
    thank you!!

  • sara

    hi Nicolas,
    sorry, this is little bit OT, but…how can I add a right column with widget to category archive pages? which file should I edit (through child theme, of course)?
    thank you!!

    • Nicolas Post author

      Hi Emilio,
      for tags you can use the filters : “tag_archive_title” and “tc_tag_archive_header_content”?
      the query_var is get_query_var(‘tag’)
      Hope this helps!

Comments are closed.