This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Reply To: Custom field filter not working – Chosen jQuery not loaded

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Custom field filter not working – Chosen jQuery not loaded Reply To: Custom field filter not working – Chosen jQuery not loaded

#25450
danielecelsa07danielecelsa07
Participant

Hi Ernest,

thanks, with the new release the error does not appear anymore

BUT the filter still does not work 🙁

To let you understand, the search bar searches between taxonomy terms of a taxonomy called Restaurant.
Each taxonomy term has a custom field required when I create it. I use ACF and I created a group for this taxonomy.
One of the custom field in this group has the slug ‘_citta’ and it is a Select custom field, where I indicated the possible options: Milano, Napoli, Palermo.
So when I create a new Restaurant taxonomy term, I have to set the custom field as one of those cities.

In Ajax custom field filter I used {get_values} to get the possible values (I attach screenshot with configuration, you can see ‘_citta’ as custom field) and it works fine because I see in the search page the dropdown menu that I also attach.

The problem is that, even if I select one of the cities in the dropdown menu, when I search for a taxonomy term that has another city as custom field, I still see it on the results page! So it seems like the filter is not applied.

Can you please help me understanding what could be wrong?

Thanks in advance,
Daniele