Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Hide empty filter values of custom fields
This topic contains 3 replies, has 2 voices, and was last updated by Ernest Marcinko 3 years, 11 months ago.
- AuthorPosts
- September 29, 2020 at 8:37 am #29569
Hi, how can i hide filter values of custom fields, if they are empty?
For example, in this page https://www.gruppo-immobiliare.com/residenziale/ , under “Tipologia immobile” custom field, some empty values should not appear as “albergo”, “capannone”, “magazzino” etc… because they are subcategories of another category and their results are empty here.
Another thing, is possible to show filter price with minimum and maximum amount text fields, instead of range slider?
Thank you
Best regards
MarcoSeptember 29, 2020 at 8:50 am #29572Hi Marco,
I tried to access the site, but I am getting this error message: https://i.imgur.com/DvbRQoT.png
Best,
Can you please check that? Thank you!
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
September 29, 2020 at 9:14 am #29575You cannot access this content.September 29, 2020 at 1:35 pm #29577Thank you, that fixed it.
Unfortunately I’m afraid this is not possible without custom coding. The plugin only requests the custom fields from the wordpress post meta database or ACF (if you use it). You can take a look at the frontend filters API, that lets you modify the filter values.
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.