Content Query where taxonomy is a term OR null/not set? whereTaxonomy combined with whereNull #5466
Unanswered
sarahessex
asked this question in
Q&A
Replies: 1 comment 5 replies
-
should get you there. To explain, you are 'grouping' the whereTaxonomy and whereNull, then AND-ing the result with the where collection. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I have two separate content queries which get the results I want:
Now I would like to combine these queries into an OR query, so that I get the faqs in the current segment OR that have no segment attached, but I'm having trouble working out the correct parameters.
Some things I've tried, none of which give me the same results merged:
Thanks in advance for any pointer!
Beta Was this translation helpful? Give feedback.
All reactions