If you are wondering whether WP Travel includes the feature to remove the title “Destination” on the Destination archive page then no need to be worry as WP Travel plugin provides the feature regarding removing the title “Destination” in the Destination archive page using filter code.

Remove/Rename title Destination

To remove the title “Destination”, 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_locations' ) ) {
        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 Destination

Also, if you are willing to rename the “Destination” title on the Destination 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_locations' ) ) {
        return preg_replace( '/^[\w]+([\s]?\w+):/', 'Your Text Here:', $title );
    }
    return $title;
} );

Output:

Remove/Rename title Destination

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