Showing posts from 4 categories along with all latest posts
You must first do the 4 queries for selected categories and while looping through them remember the IDs. Save them in an array. Then when pulling latest posts just add the post__not_in parameter with all the IDs you want to exclude. You need 4 queries that look somewhat like this: $args = array( ‘category_name’ => … Read more