Title: Excluding/Adding Posts to The Loop
Last modified: August 19, 2016

---

# Excluding/Adding Posts to The Loop

 *  [mgirouard](https://wordpress.org/support/users/mgirouard/)
 * (@mgirouard)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/excludingadding-posts-to-the-loop/)
 * I’m developing a custom theme for WP which selectively displays posts during 
   The Loop on the index page.
 * Currently I’ve set WP to pull 20 posts into The Loop, however it’s not uncommon
   for only 10 or 15 to display because they don’t match the specific criteria I’ve
   set up in order for the post to become visible.
 * I’m wondering if there’s a way to (after The Loop runs) to pull an additional
   5 or 10 posts (or however many necessary) into the page’s results in order to
   display a full 20 posts.
 * To complicate it more — I’d also like pagination.
 * Any suggestions before I hack my WP beyond recognition? I’ve searched around 
   the forums but haven’t really found much along these lines.
 * Thanks for the help.
 * Cheers, Mike G.

Viewing 1 replies (of 1 total)

 *  [jshaw3](https://wordpress.org/support/users/jshaw3/)
 * (@jshaw3)
 * [17 years, 8 months ago](https://wordpress.org/support/topic/excludingadding-posts-to-the-loop/#post-752596)
 * I have also ran into this problem. I am currently looking for a fix. Issues come
   when using is_category(); continue;
 * Have you found a fix?

Viewing 1 replies (of 1 total)

The topic ‘Excluding/Adding Posts to The Loop’ is closed to new replies.

## Tags

 * [the-loop](https://wordpress.org/support/topic-tag/the-loop/)

 * 1 reply
 * 2 participants
 * Last reply from: [jshaw3](https://wordpress.org/support/users/jshaw3/)
 * Last activity: [17 years, 8 months ago](https://wordpress.org/support/topic/excludingadding-posts-to-the-loop/#post-752596)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
