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

Multiselect Taxonomy OR rather than AND

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Multiselect Taxonomy OR rather than AND

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #27937
    the.green.timtam40the.green.timtam40
    Participant

    Is it possible to set filter by taxonomy with a Multiselect Dropdown to OR rather than AND. I’m using a taxonomy for Accents on a talent search for a talent agency, and when I select, say “British” and “Scottish” I would like it to show posts which either have British OR Scottish assigned. At the moment it shows only posts with both British and Scottish.

    Also, when a post is not assigned to an accent, they appear in the search no matter what. They should only appear when there is no filter. I know one solution is to add an “Unassigned” accent that is excluded in the search, but this is not ideal. Is there any other way to prevent this from happening?

    #27939
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi,

    Luckily, both are possible.
    Multi-select drop-downs are handled as checkboxes, so this option will give you what you are looking for: https://i.imgur.com/l5llpJG.png
    Second, this option will turn off results, that does not have any connection with the filtered taxonomy: https://i.imgur.com/iV7bmT0.png

    #27940
    the.green.timtam40the.green.timtam40
    Participant

    I’d actually just figured this out about the same time as you messaged haha!

    #27941
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You cannot access this content.

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