Currently in my theme i am running the default query that pulls all recent posts/latest entries/latest published posts . But i am looking for something more complex like i am gonna setup two sections . One is for all the latest entries and the other one is for the four sub-sections which will show posts from 4 selected categories but the posts of those selected categories wont be showed in the latest entries i mean the first query which was pulling all posts will exclude the posts of 4 selected categories . cause there will be duplication ..
but i don't know the exact query/wp-query code for this type of setting . .