Written by: Aleš Sýkora

The Author of Toolset.wiki. Big fan of Toolset plugins and WordPress.

I am big fan of WordPress and Toolset plugins. I have done many projects based on WordPress. I also have experience with online marketing, PPC advertising and SEO. I live in Czech Budweis – the town of Budweiser Budvar breverage in the south of the Czech Republic – the heart of Europe.

I love skateboarding, snowboarding, frisbee, fitness, healthy lifestyle, tattoos, mountain biking and other sports. I enjoy having time with friends with good beer and good music.

Remove Archive Title Prefix in Astra Theme

Last Update: 10. 11. 2019 , Category:

You can use this as a plugin to disable the Archive: Category: Tag: prefix in Astra Theme archives.

 * Plugin Name: Remove Archive Text from the Archive Title.
 * Description: Removes the text "Archive" from funnction get_the_archive_title() of WordPress
 * Plugin URI: https://www.alessykora.cz/
 * Author: Aleš Sýkora
 * Author URI: https://www.alessykora.cz/
 * Version: 1.0.1
 * License: GPL2 or later
 * License URI: https://www.gnu.org/licenses/gpl-2.0.html

defined( 'ABSPATH' ) or exit;

add_filter( 'get_the_archive_title', 'astra_archive_title_remove_prefix_text' );

 * Remove Prefix : from Archive title
 * @param  string $title Default title.
 * @return string $title updated title.
function astra_archive_title_remove_prefix_text( $title ) {

	if ( is_post_type_archive() ) {
        $title = post_type_archive_title( '', false );
    } elseif ( is_tax() ) {
    	$tax = get_taxonomy( get_queried_object()->taxonomy );
    	$title = single_term_title( '', false );
    } elseif ( is_category ()) {
		$title = single_cat_title( '', false);

	return $title;

I you want to completely disable the Archive title box, use this:

remove_action( 'astra_archive_header', 'astra_archive_page_info' );

Support Us via our Affiliate link!

Astra WordPress theme logo

What to do next?

Need a Toolset License?

Buy via affiliate link!

Looking for a tutorial?

Help other users – Add your snippet!

Join the discussion!