- This topic has 3 replies, 2 voices, and was last updated 7 years, 3 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
These forums are now closed and remain for historical purposes.
None of the content applies to the new version 3. For support, get in touch via our contact form.
Forums › Forums › Search & Filter Pro › how to exclude past events from search result?
Hi,
the problem is that if I add a search criteria regarding the events the search results only contains events not pages, posts or any other custom post type.
How do I include all custom post types in search but remove old events from Search result?
I think by custom coding and using our https://searchandfilter.com/documentation/action-filter-reference/#edit-query-arguments filter. I cannot give you a snippet for this, but you might find one by searching this forum:
https://support.searchandfilter.com/forums/search/add_filter+sf_edit_query_args/