Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Disable/enable custom datepicker filter
This topic contains 3 replies, has 2 voices, and was last updated by Ernest Marcinko 5 years, 4 months ago.
- AuthorPosts
- January 30, 2018 at 3:51 pm #16541
Hi,
I’m using the plugin with great joy! but I stumbled upon a question; the searchbar is working for 3 post types, 1 post type are events and I would like to filter these events by starting date.
So far so good. But, the filter is set up standard and the other 2 post types are filtered away by default this way. Is there a way to make a button or whatever to disable the single datepicker filter?
January 30, 2018 at 4:30 pm #16544Hi,
Actually, this should be possible, by enabling this option: https://i.imgur.com/rCta0xp.png
This basically allows those results to appear, that have no connection with the filtered custom field.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
January 30, 2018 at 4:36 pm #16545Yes! this actually helps me in the right direction. The next step is to select a date in de datepicker so that only events show up.
January 30, 2018 at 4:44 pm #16546Have you considered making a post type filter as well?
If that option is enabled, the date filter will not affect the other post types, no matter what. However if there was checkbox filter with all post types selected by default, the user could de-select the other two if not desired. I think that would be easiest solution.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
- AuthorPosts
You must be logged in to reply to this topic.