I'm addressing a well known issue in Wordpress, in which I want to display "featured" posts, and under it the rest of the posts.
I have a $query1 which holds 2 featured posts, and my query_posts which holds all of the posts on the site (including those two from $query1).
I now wish to remove from query_posts those two posts so I can display it using regular Wordpress loop in the form of:

I have the solution for removing these duplicate posts inside the above loop, but because of the paging, I want to have the query without duplicates before that, so the query_posts array will be paged without those two featured posts.

Nona Man, this didn't work when I copied and pasted it in the Code Snippets plugin. Please let me know if there's another step I need to take when applying it in that plugin. We use a category to push posts onto our main page slider. Should I use a tag instead with your code? Thanks!
–
Miguel AgawinMar 24 '14 at 18:17