WP Travel plugin provides the feature to remove text ‘Archives‘ displaying in the archive(itinerary) page using the filter.

To remove text ‘Archives‘ in the archive(itinerary) page, please add the following given code in the functions.php file of your child theme.

add_filter('get_the_archive_title', function ($title) {

    return preg_replace( '/^[\w]+([\s]?\w+):/', '', $title );

});

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

Remove text ‘Archives’:

remove text Archives

Also, if you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on FacebookInstagram, and Twitter.

Further, if you have any queries, please submit them to our Contact page.

create your travel site within minutes by wptravel.io ,buy wptravel pro