Filtering WP_Query result by category
The category parameters of WP_Query does not have this type of logic. category__and and category__in does not return posts in child categories of the set categories. I would suggest that you make use of the tax_query parameters in WP_Query, which have the logic you are looking for. The relation parameter has two possible values, AND … Read more