Issue with “AND” Taxonomy Relation in Smart Filter Plugin
-
Hi,
I’m using the Filter & Grids plugin to filter a custom post type called “Projects” based on taxonomy terms. However, the “Taxonomy Relation” setting does not seem to be working as expected when I set it to
"AND"
.My site uses a custom post type called “Projects”, which behaves like posts.
I have three projects, each assigned to different categories:
- Project 1: social, special, transformation, care
- Project 2: development, living
- Project 3: development, complete
On the frontend, I have set up filtering by project categories. I enabled
"Multiple Taxonomies"
and tested with Taxonomy Relation set to"OR"
, which works as expected.However, when I switch the Taxonomy Relation to
"AND"
, the behavior remains exactly the same as"OR"
.Expected Behavior (when set to
"AND"
):- Selecting “development” and “living” should display only Project 2.
- If I add “special”, no results should be shown (since no single project has all three terms).
Actual Behavior:
- Filtering by “development” and “living” still displays both Project 2 and Project 3 (same as “OR”).
- Additional filters continue behaving as if “OR” is applied, even though “AND” is selected.
Troubleshooting Steps Taken:
- Tested with the 2024 default theme to rule out theme conflicts.
- Disabled all other plugins to check for conflicts.
- Cleared all caches (browser, site, and server-side).
- Checked for JavaScript errors in the console (none found).
- Verified that my plugin settings correctly reflect “AND” in the backend.
But the issue is still there. Is there a configuration step I may have missed?
I’m using WordPress 6.7.2 and version 2.9.68 of the plugin.
I hope you can help with this.
Thank you in advance,
Dave
- You must be logged in to reply to this topic.