wp query – WordPress Show 4 posts from 4 specific categories in a slider
I’m trying to show 4 posts from 4 different categories (one from each cat) in one row but no 2 posts from any category can show together. Each category has 5 posts so I need to display them distincly one by one.
on next row there will be 4 posts again exluding the first 4 posts.
Row 1 shows: Cat1 -> Post 1, Cat2 -> Post 1, Cat3-> Post 1, Cat4->Post 1
Row 2 shows: Cat1 -> Post 2, Cat2 -> Post 2, Cat3-> Post 2, Cat4->Post 2
And so on.
How can I query posts in this way?