Remove booking options, change colour options?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #3571


    I am wondering if it is possible to remove a few of the booking options: specifically the Trip Code, Address, and Trip Duration? Additionally, is it possible to change ‘Pax’ to ‘Group Size’?

    Also, if I wanted to change the red colour of the red text when that tab is selected/highlighted, where would I find the code to change it?

    Thank you!

    Support Team

    Hello @laurenc,

    Yes, you can definitely remove the Address, Trip duration from the booking form using the filter and for this you have to activate the child theme.

    You can even activate the child theme using the plugin given below:

    After activating the required child theme in your child theme functions.php file paste below given code.

    add_filter( 'wp_travel_booking_form_fields', 'wp_travel_customize' );
    function wp_travel_customize( $fields ) {
    	$fields['pax']['label'] = __( 'Group Size', 'wp-travel' );
    	unset( $fields['trip_duration'], $fields['address'] );
    	return $fields;

    The above code will also replace the string “Pax” to “Group Size” from your booking form.

    As for the “Trip Code” we are not quite clear whether you want to remove it from the backend or at the front end.

    If you want them to remove it from the frontend then please paste the below-given code into your child theme functions.php file.

    Now to change the active color of the tab i.e. red color use below given CSS.

    For this go to Admin Panel > Appearance > Customize > Additional CSS and paste below given CSS.

    .wp-travel-tab-wrapper .tab-list.resp-tabs-list li.resp-tab-active {
        color: #000;

    Here you can change the color code as per your requirement.

    Hope this helps.

    If you find any confusion further please feel free to post.

    Best Regards!!

    Have a good day.


    Hi, with the same problem..

    i’ve been put the code..
    But trip duration is still there in front end

    Support Team

    Hello @zarmayana,

    The code that we have provided above which you need to add in the child theme removes the “Trip Duration” from the booking form filed but not from the meta field that appears beside the trip image i.e. at the top right.

    Now to remove it from there as well add below-given CSS in Additional CSS.

    .wp-travel-trip-meta-info ul li:nth-of-type(6) {
        display: none;

    Hope this helps.

    Best Regards!!

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘WP Travel’ is closed to new topics and replies.