Tag search logic

This topic contains 1 reply, has 2 voices, and was last updated by  Ernest Marcinko 11 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #14415

    luciferx99
    Participant

    I have two problems with my plugin:

    1. I cant search when I type in the keywords.
    For example: If I type in Anti-inflammatory, it would not show any result.

    2. I would like to have a tag search with AND logic, I am not sure is that possible do it in setting.

    For example, right now on my website.

    I select Anoikis-resistant breast cancer and antiestrogenic with Filter by keywords.
    The search result will show both 2 article with those tags.
    The goal I want is, when I select those keywords it would show an article which contains both keywords, which should be no match result.

    Attachments:
    You must be logged in to view attached files.
    #14430

    Ernest Marcinko
    Keymaster

    Hi!

    I think you might want to enable this option: https://i.imgur.com/YXrnIYX.png

    Because all of the checkboxes are unchecked, by default it tells the search to everything that is not unchecked. Once you turn that option on, it will ignore the filter until at least one checkbox is selected.

    The second is not possible unfortunately, because these tags are from the same taxonomy. If the 'Anoikis-resistant breast cancer' and the 'antiestrogenic' were in different taxonomies, then this might be possible, I think.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.