- 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 #27939
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
If you like my products, don't forget to rate them on codecanyon :)
June 18, 2020 at 9:17 am #27940
I’d actually just figured this out about the same time as you messaged haha!June 18, 2020 at 9:43 am #27941
You must be logged in to reply to this topic.