If you are willing to remove the title “Keyword” in the Keyword archive page then  WP Travel plugin provides the feature regarding removing the title “Keyword” in the Keyword archive page using filter code.

Remove/Rename title ‘Keyword’

To remove the title “Keyword” in the Keyword archive page, please add the following given code in the functions.php file of your child theme.

add_filter('get_the_archive_title', function ( $title ) {
    if ( is_tax( 'travel_keywords' ) ) {
        return preg_replace( '/^[\w]+([\s]?\w+):/', '', $title );
    }
    return $title;
} );

For detail information regarding how to create a child theme, please refer to our Knowledgebase.

Output:

Remove/Rename title ‘Keyword’

Also, if you want to rename the “Keyword” title on the Keyword archive page then please add the following given filter code in the functions.php file of your child theme.

add_filter('get_the_archive_title', function ( $title ) {
    if ( is_tax( 'travel_keywords' ) ) {
        return preg_replace( '/^[\w]+([\s]?\w+):/', 'Your Text Here:', $title );
    }
    return $title;
} );

Output:

Remove/Rename title ‘Keyword’

Check the WP Travel documentation to learn more about configurations, modules, payments, and shortcodes.

Your feedback helps us improve. Feel free to share your thoughts!

Need assistance? Contact our support team, join our Facebook community, and subscribe to our YouTube Channel for video tutorials.

You can also find us on Facebook, Instagram, LinkedIn, TikTok, and X. Thank you for choosing WP Travel.

If you are a WP Travel Free user thinking about upgrading to Pro, simply click on the banner below.

Get WP Travel Pro