If you are willing to remove the Trip Types, Activities, Group Size, and Review count from the single trip page, then worry not WP Travel plugin provides the feature regarding removing the Trip Types, Activities, Group Size, and Review count from the single trip page using a filter code.

To remove the Trip Types, Activities, Group Size, and Review count from the single trip page, please add the following given code in the functions.php file of your child theme.

function wp_travel_trip_meta_info_after_excerpt( $text_list ) {
    unset( $text_list[ 'trip_type' ] ); //Add this line to remove Trip Type
    unset( $text_list[ 'activity' ] ); //Add this line to remove Activities
    unset( $text_list[ 'group_size' ] ); //Add this line to remove Group Size
    unset( $text_list[ 'reviews' ] ); //Add this line to remove Reviews
    return $text_list;
}
add_action('wptravel_after_excerpt_single_trip_page' , 'wp_travel_trip_meta_info_after_excerpt' );

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

Example to remove Trip Type:

function wp_travel_trip_meta_info_after_excerpt( $text_list ) {
    unset( $text_list[ 'trip_type' ] );
    return $text_list;
}
add_action('wptravel_after_excerpt_single_trip_page' , 'wp_travel_trip_meta_info_after_excerpt' );

Output:

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