Category joins – posts in (children of cat b) and (cat a)
I have two categories A and B. Only B has children.
I’d like to select the children of B that have posts which also belong to A.
Is there any way to do this?
I was going to select all the posts that appear in A, then those in B’s children, then pick B’s children belonging to the intersection of the two lists, but as my database grows, this doesn’t seem to be a feasible solution.
How would you go about this?
- The topic ‘Category joins – posts in (children of cat b) and (cat a)’ is closed to new replies.