Customizing the archive/category page can be very useful if you want to take your website one step further by fine tuning every phrase just like you want.

This code is pretty easy and can be developed in many more ways. In this example we customize category page title and another title for taxonomy page under the name ‘authors’:

add_filter( 'get_the_archive_title', function ( $title ) {
    if( is_category() ) {  // Category
        $title = 'Top Quotes About '.single_cat_title( '', false );
    }
	else if (is_tax('authors')) // Taxonomy: authors
	{
		$title = 'Best Quotes By '.single_cat_title( '', false );
	}
    return $title;
});

How useful was this post?

Click on a star to rate it!

Average rating / 5. Vote count:

We are sorry that this post was not useful for you!

Let us improve this post!