Title: Exclude posts from loop
Last modified: August 20, 2016

---

# Exclude posts from loop

 *  [Jess](https://wordpress.org/support/users/jessn/)
 * (@jessn)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/exclude-posts-from-loop/)
 * My site has four different post categories. On the home page I have it set up
   so that it shows the most recent post for each, followed by the PageNavi navigation
   for subsequent pages.
 * — New Post Cat 1 —
    — New Post Cat 2 — — New Post Cat 3 — — New Post Cat 4 —
 * But here’s where my problem is. On pages 2 and up I just want to pull up all 
   posts, regardless of their category, and exclude the posts shown on the home 
   page. I can do all of that but the excluding part.
 * So I guess my question is, how to I exclude the first post from each category
   in the loop? Is that possible? Offset doesn’t work. Is there maybe some way to
   pass a variable? I did try $do_not_duplicate_event = $post->ID; but that doesn’t
   seem to work for paged loops…
 * Anyone have an idea? Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Marventus](https://wordpress.org/support/users/marventus/)
 * (@marventus)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/exclude-posts-from-loop/#post-2375326)
 * Hi Jess,
 * You should take a look at the [Loop](http://codex.wordpress.org/The_Loop) Codex
   article, specially the “Multiple Loops in Action” section. I’m sure you’ll find
   what you are looking for there.
 * Cheers!
 *  [Marventus](https://wordpress.org/support/users/marventus/)
 * (@marventus)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/exclude-posts-from-loop/#post-2375381)
 * Hi,
 * Were you able to figure this out? If so, could you please mark this thread as
   resolved?
 * Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Exclude posts from loop’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [Marventus](https://wordpress.org/support/users/marventus/)
 * Last activity: [14 years, 7 months ago](https://wordpress.org/support/topic/exclude-posts-from-loop/#post-2375381)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
