- This topic has 6 replies, 2 voices, and was last updated 2 months, 1 week ago by .
Viewing 7 posts - 1 through 7 (of 7 total)
Viewing 7 posts - 1 through 7 (of 7 total)
- You must be logged in to reply to this topic.
Home › Forums › Pro Themes › Tourable Pro › Remove activities from search on homepage
Hi,
My tours are not based on activities. How can I remove activities from the search on the homepage?
And how can I change the font size on my WP_TRAVEL_ITINERARIE?
@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?
Where can I add the snippet to remove activity from my search on the homepage?
https://vmmakeover.online/
I added the snippet with wp code but I still see activities
https://vmmakeover.online/
Please help!
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |