Home Forums Pro Themes Tourable Pro Remove activities from search on homepage

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #208900
    Stephanie Saelman
    Participant

    Hi,

    My tours are not based on activities. How can I remove activities from the search on the homepage?

    #208901
    Stephanie Saelman
    Participant

    And how can I change the font size on my WP_TRAVEL_ITINERARIE?

    #208902
    Psink
    Keymaster

    @radfactor, regarding disabling activities from search form. Please add this snippet

    add_filter( ‘wp_travel_search_filter_input_fields’, ‘prefix_wp_travel_search_filter_input_fields’ );
    function prefix_wp_travel_search_filter_input_fields(){
    $filter_search = array(
    ‘search’ => true,
    ‘trip_type’ => true,
    ‘location’ => false,
    ‘activity’ => false,
    ‘travel_keywords’ => false,
    );
    return $filter_search;
    }

    Here is screen record how to add the snippet
    https://www.awesomescreenshot.com/video/34938007?key=18527eda12708141980594c06f7f509b

    Regarding “changing font size” – query is quite not clear, is it a shortcode or itinerary page. Could you please share a url of the page?

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.