Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Multiselect Taxonomy OR rather than AND
This topic contains 3 replies, has 2 voices, and was last updated by Ernest Marcinko 2 years, 11 months ago.
- AuthorPosts
- June 18, 2020 at 3:43 am #27937
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?
June 18, 2020 at 9:11 am #27939Hi,
Luckily, both are possible.
Best,
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
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
June 18, 2020 at 9:17 am #27940I’d actually just figured this out about the same time as you messaged haha!
June 18, 2020 at 9:43 am #27941You cannot access this content. 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.