Reply To: Custom field search – drop list with all or specific item selected

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Custom field search – drop list with all or specific item selected Reply To: Custom field search – drop list with all or specific item selected

#8840

Ernest Marcinko
Keymaster

Hi Patryk!

Thank you for your kind words! It is actually possible to add an “empty” option, which basically ignores the filter: https://goo.gl/vVwCqH

You can basically add this line on the top of the checkbox list:

||All cities**

It's not exactly equivalent to “All cities”, it's rather “Any city”, because it simply ignores the filter. In case of “All” it should check if the custom field exists and if the value is within all the provided values. But I hope it still does the job for you 🙂

Best,
Ernest Marcinko

If you like my products, don't forget to rate them on codecanyon :)