WP Travel plugin includes a feature to display related trips on the Single Trip page, helping visitors discover similar tours and boosting engagement.
By default, related trips are shown based on the trip type assigned to the current trip.
Table of contents

But with WP Travel v7.0.0, you can customize this behavior to display related trips according to your preferred taxonomy such as: destination, keywords, and activities.
To customize the related trips taxonomy, add the following filter code to your child theme’s functions.php file:
add_filter( 'wp_travel_related_trip_filter_single_archive_page', function ( $args ) {
return 'Add your taxonomy Choice';
} );
For detailed information regarding how to create a child theme, please refer to our Knowledgebase.
How to Show Related Trips in WP Travel?
1.Show the related trip according to the destination added
To show related trips based on destination, use:
add_filter( 'wp_travel_related_trip_filter_single_archive_page', function ( $args ) {
return 'travel_locations';
} );

2. Show the related trip according to the Keywords added
To show related trips based on keywords, use:
add_filter( 'wp_travel_related_trip_filter_single_archive_page', function ( $args ) {
return 'travel_keywords';
} );
3. Show the related trip according to the Activities added
To show related trips based on activities, use:
add_filter( 'wp_travel_related_trip_filter_single_archive_page', function ( $args ) {
return 'activity';
} );
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.

WP Travel Editorial is a team of WordPress and travel industry experts dedicated to delivering technical resources, travel business guides, and general travel insights. With over 10 years of experience, the team provides in-depth release notes, feature updates, and informative articles to help tour operators and travel enthusiasts succeed in the evolving travel landscape.
From plugin updates and industry trends to practical travel resources, WP Travel Editorial shares valuable content that supports both the travel industry and avid travelers.





