list posts belonging to either child cat but has to be one other
Not sure how to explain this but I’m trying to list posts that that have to be in either category of a certain parent AND some other category.
Basically, I have a parent cat of “blogs” and in that cat are a few diff “blog” categories.
I want to list those out which is easy enough, but list only the ones that are in either of those blogs, but ALSO some other category, say “trees”
So the list would be all posts under parent “blogs” but also marked “trees.”
Seems simple enough, but I can’t do it and I’ve tried some arrays and category__and and such, but this part is missing.
thanks in advance.
- The topic ‘list posts belonging to either child cat but has to be one other’ is closed to new replies.