Forum Replies Created
-
AuthorPosts
-
January 23, 2020 at 8:11 pm in reply to: Custom field filter not working – Chosen jQuery not loaded #25453
danielecelsa07
ParticipantIn addition, I attach also the configuration for Advanced Frontend search settings.
Thanks,
DanieleJanuary 23, 2020 at 7:58 pm in reply to: Custom field filter not working – Chosen jQuery not loaded #25450danielecelsa07
ParticipantHi 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,
DanieleJanuary 23, 2020 at 1:15 pm in reply to: Custom field filter not working – Chosen jQuery not loaded #25425danielecelsa07
ParticipantYou cannot access this content.
January 23, 2020 at 10:59 am in reply to: Custom field filter not working – Chosen jQuery not loaded #25422danielecelsa07
ParticipantYou cannot access this content.
January 14, 2020 at 1:35 pm in reply to: Override default WP search result does NOT work when using an Elementor template #25276danielecelsa07
ParticipantYou cannot access this content.
January 14, 2020 at 1:34 pm in reply to: Override default WP search result does NOT work when using an Elementor template #25275danielecelsa07
ParticipantGreat!! It worked! 🙂
Just to know, when the new release will be out?
Thanks a lot Ernest!
Danieledanielecelsa07
ParticipantYou cannot access this content.
danielecelsa07
ParticipantThanks Ernest, Config2 worked 😉
Many thanks,
Danieledanielecelsa07
ParticipantHi Ernest,
thanks again for your kind reply.
Just a question, you told me about the 14th January new Release. In this release, will the feature that we need be added? I mean the chance to have the button search ‘deactivated’ unless a selection is done in the filter.
If not, are you planning to add this feature in some future release? All our idea is relying on your search bar, and without that our website is crap…:)
So we are willing to wait for your release, but if you are not sure if/when you will release that fix, we will maybe contact some developer.Thank you in advance,
Domenicodanielecelsa07
ParticipantHi again,
waiting for your kind reply, we noticed that something changed (not sure if as a consequence of trying your code) in the URL when performing a search.
Anything I search, the result page URL is something like in the screenshot attached, instead of …./?s=searched_term
Could you please help to change the URL result as it was before?
Thanks!
Danieledanielecelsa07
ParticipantHi Ernest,
thank you for your kind reply, we really appreciated you wrote a custom code just for us 🙂
Anyway, we tried your code but it does not seem to be working for us.
What I got from your reply is that, using your code, the button trigger in the search bar should be ‘deactivated’ (which means you cannot search anything, you cannot ‘click’ the button) if no selection is checked in a dropdown menu or in a checkbox menu (I tried both) of a Taxonomy filter.
The trigger should become ‘active’ (which means that it allows searching something, the button is clickable) when I make at least a selection in the dropdown/checkbox menu of the Taxonomy filter.Is this the expected behavior?
If yes, maybe I got something wrong in the settings of the filter.Anyway, what I did it is just copy&paste your code in function.php file at the beginning of the file, right below <?php
Here it is a page where we tried your code, just in case you would want to take a look:
https://www.idlike.appAttached you can find the setting for the Taxonomy filter.
Thanks in advance!
Danieledanielecelsa07
ParticipantHi Ernest,
thanks for your kind and quick answer!
So:
1) You said: the “required” field feature for custom field filter is in development -> Do you have an estimated time for this feature to be available to the public?
2) What about the same feature for taxonomy filters, do you also have an estimated time for the new releases to be available to the public?
Or maybe I misunderstood and both features (“required” field for custom field filters and for taxonomy filters) will come together with new releases?
3) this is only possible via customizations unfortunately -> Can you please suggest me some guide, link to some article, something that can explain me how to put this customization into practice? Or maybe just the lines of code that I should use, and where exactly to use them?Sorry if I ask with insistence, but this feature is very very important on my website, I would really need it.
Thank you very much in advance.
Regards,
Daniele -
AuthorPosts