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

Viewing 7 posts - 1 through 7 (of 7 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?

    #209115
    Stephanie Saelman
    Participant

    Where can I add the snippet to remove activity from my search on the homepage?
    https://vmmakeover.online/

    #209127
    Stephanie Saelman
    Participant

    I added the snippet with wp code but I still see activities
    https://vmmakeover.online/

    #209137
    Stephanie Saelman
    Participant

    Please help!

    #209194
    Psink
    Keymaster

    Apologies for the delayed follow-up.

    Seems you have figure out to hide activity from the search form on the homepage.

    Just checked your site, curently trip types and location is active on the search form

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