Primary Nav

Remove the word “Archive” from Canvas archive header

I know it’s an archive, there are lots of posts below. I don’t always want that text there in the title. It’d be nice if there were a checkbox to show it or not. There isn’t. Yet. So here goes. You’re going to need to put this monster code in your functions.php file of your child theme. Did you get all that? If that scares you, don’t do this and let me know if I can help. If you know where your functions.php file is and a bit how it works, here’s what you need to get rid of that word Archive.

I don't really need that work Archive in my archives header. Here's how to get rid of it.

I don’t really need that work Archive in my archives header. Here’s how to get rid of it.


16 Responses to Remove the word “Archive” from Canvas archive header

  1. Paul June 19, 2013 at 11:24 pm #

    Nice work. Thanks for sharing. Works a treat.

  2. Sam K July 21, 2013 at 2:30 am #

    Worked perfectly – I can’t believe I couldn’t find this simple solution in the WooThemes community forums!

    • Bradley Charbonneau July 27, 2013 at 4:24 am #

      I often have a hard time finding anything in ANY forums. I’m trying to make many posts here with tiny little solutions so they’re easier to find. Thanks for the note!

  3. Kathleen August 4, 2013 at 6:20 pm #

    Works as promised, thanks!

  4. Knuth Becker October 21, 2013 at 3:48 am #

    Where do you have to place the code in functions.php? Thanks for the work btw!

    • Bradley Charbonneau October 21, 2013 at 7:10 pm #

      It goes in the same place as your style.css file, in other words, in the child theme’s folder.

  5. Juan Pablo January 5, 2014 at 4:05 pm #

    I already pasted the code on the functions.php file right under where it says “/* You can add custom functions below */” , what’s next? where will the checkbox appear?

    • Bradley Charbonneau January 6, 2014 at 2:47 pm #

      By pasting that code, that should just remove the word Archive. Did it not work?

  6. Luke January 15, 2014 at 6:25 am #

    hi there,

    I am running a new WP woo canvas site and am not a developer. I therefore need little bits of help from time to time, for example removing the word Archive (as above). Can you provide some paid time for support of my site from time to time when I get stuck? It’s a non-profit so wouldn’t be able to pay much.



  7. Grady February 6, 2014 at 1:10 pm #

    Thanks, Bradley.

    If anyone uses this and wants to maintain the RSS icon instead of having text, line 85 should look more like this:

    $title .= ‘‘;

    • Grady February 6, 2014 at 1:11 pm #


      $title .= '';

  8. John April 28, 2014 at 1:28 am #

    I’m running canvas plus custom content types plugin and I’ve created a custom post called ‘talk’. I’d like to change the archive header text to just about anything! At the moment it says ‘Talk Archive’. I tried your code above and it did work for the standard woo archives but did nothing for this custom archive.

    I tried this code:

    /* Change Archive Template H1 */

    add_filter( ‘woo_archive_title’, ‘new_woo_archive_title’ );

    function new_woo_archive_title () {

    $category = single_cat_title(“”, false);
    $new_title = ”. $category .” . ” . strip_tags(category_description($category_id)) . ”;

    return $new_title;

    } // End filter

    That worked for woo archives again, but this time it made the talk archive header text disappear. Any ideas?

  9. Schalk October 11, 2016 at 2:18 am #


    I know this might seem weird, but I need to display the archive slug on my archive.php

    If my Archive title is Cape Town
    I want to display cape-town

    hope you can help.
    thank you,

Leave a Reply