Get posts from 2 categories (like using category_and)
-
I have two categories: cat-one and cat-two. I need to get only posts associated with those categories – like category__and parameter from WP_Query.
In my experiments, JSON-API is retrieving posts from associated with cat-one, cat-two OR just one of them.
How can I do it?
- The topic ‘Get posts from 2 categories (like using category_and)’ is closed to new replies.