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

Exact result

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #23125
    spunk91spunk91
    Participant

    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?

    #23127
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi,

    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.
    It might be easier with a taxonomy term checkbox filter + changing the matching logic like so: https://i.imgur.com/7TwOcCY.png

    #23129
    spunk91spunk91
    Participant

    I 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?

    #23133
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi,

    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.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.