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

Tag search logic

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #14415
    luciferx99luciferx99
    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.

    #14430
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    I think you might want to enable this option: http://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.

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