Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Exact result
This topic contains 3 replies, has 2 voices, and was last updated by Ernest Marcinko 3 years, 9 months ago.
- AuthorPosts
- June 12, 2019 at 2:32 pm #23125
I have a recipe website, and want people to type in the ingredients they have available, and then only show them recipes with those key ingredients.
ex. 1:
User types in “veal” – search result only returns with recipes with the category “veal” selected
So posts with the category “veal” + “potato” selected doesn’t show
ex. 2:
user types in “veal” + “potato” – search result only returns with recipes with the category “veal” and/or “potato” selected
So posts with the category “veal” + “potato” + “corn” selected doesn’t show
How would this be done?
June 12, 2019 at 3:29 pm #23127Hi,
I don’t think this is doable to be honest. Searching for one exact word is okay, however it does not predicate that other categories would not match.
Best,
It might be easier with a taxonomy term checkbox filter + changing the matching logic like so: https://i.imgur.com/7TwOcCY.png
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
June 12, 2019 at 3:49 pm #23129I know i’m asking about competing plugins. But do you know of any other plugin where this would be possible?
Or would i have to have it custom made?June 13, 2019 at 7:01 am #23133Hi,
I am not sure about the compteting ones, I would say that probably not. Custom made is probably your best bet in this case, as this requirement is very specific.
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.