WP_Query with different postmeta filter for each categories
I don’t think there’s an easy way to do that with a single query. WP_Query is very good at taxonomy queries nowadays, even doing things like nested comparisons, and custom field queries. In your case, you’re trying to limit the posts returned by a meta query when another condition is true. If you go and … Read more