Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Show/hide results based on a datetime metafield › Reply To: Show/hide results based on a datetime metafield
February 19, 2025 at 11:36 am
#52968
Keymaster
Hi Samuele,
Yes – it is possible two ways – one is a bit of custom code snippet, or if you are not using the search filters, then that is also an option. Search filters are effective even if they are invisible.
Therefore you can create a date filter on that field like so: https://i.imgur.com/rGCSVpw.png
This will filter out results where the “start-date” is before today.