In Oxygen when you go to Insert Data > Archive Title in a Template for an archive page, it is going to dynamically fetch and show the current archive’s title preceded by a label that reads “Archive:” or “Category:” etc. depending on the context.

Ex.: Category: Uncategorized

If you want to remove these pre-title insert labels, follow these steps:

Step 1

Install and activate Code Snippets plugin.

Step 2

Go to Snippets > Add New.

Title: Get rid of the “Category:”, “Tag:”, “Author:”, “Archives:” and “Other taxonomy name:” in the archive title


add_filter( 'get_the_archive_title', 'my_theme_archive_title' );
 * Remove archive labels.
 * @param  string $title Current archive title to be displayed.
 * @return string        Modified archive title to be displayed.
function my_theme_archive_title( $title ) {
    if ( is_category() ) {
        $title = single_cat_title( '', false );
    } elseif ( is_tag() ) {
        $title = single_tag_title( '', false );
    } elseif ( is_author() ) {
        $title = '<span class="vcard">' . get_the_author() . '</span>';
    } elseif ( is_post_type_archive() ) {
        $title = post_type_archive_title( '', false );
    } elseif ( is_tax() ) {
        $title = single_term_title( '', false );

    return $title;


Need help implementing a tutorial in your site or want to hire me for custom work?


Find the article helpful and wish to donate?



For adding code blocks wrap the code in three backticks. Markdown should work.
Provide a URL of your site/webpage if something is not working.
linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram
%d bloggers like this: