Title: Older Posts, Newer Posts
Last modified: August 20, 2016

---

# Older Posts, Newer Posts

 *  [Infoprincess](https://wordpress.org/support/users/infoprincess/)
 * (@infoprincess)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/older-posts-newer-posts/)
 * I’m using 2010 with a child theme…
 * On my blog page, I have the “Older Posts” “Newer Posts” indicators showing top
   and bottom, as they should.
    [http://www.infoprincess.com/artist-nook](http://www.infoprincess.com/artist-nook)
 * However, when you click either the newer/older navs, the same 3 posts show up.
   I have my settings>reading set to Show at most 2 posts, yet it shows 3 and I 
   have about 20 older posts that don’t show anywhere. Any idea what’s causing this?
   Where do I start?
 * I have read the codex articles for this subject and can’t make heads or tails
   out of them … any help is appreciated.

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

 *  [Pioneer Web Design](https://wordpress.org/support/users/swansonphotos/)
 * (@swansonphotos)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/older-posts-newer-posts/#post-3366454)
 * As a test, to see what the issue is (a theme or plugin), switch to default theme,
   deactivate all plugins, load site and test reading settings…
 * Now with it (presumably) working as desired, activate your theme. Test.
 * If still works as desired, activate plugins _one at a time_. Test.
 * When it breaks, the last one activated is the culprit…Deactivate and find better
   one.
 *  Thread Starter [Infoprincess](https://wordpress.org/support/users/infoprincess/)
 * (@infoprincess)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/older-posts-newer-posts/#post-3366455)
 * Part of the Problem was solved.
 * At the beginning of the loop.php file in my child theme, I found the following:
 * <?php
    if ( is_home() || is_archive()) { query_posts($query_string . ‘&cat=-17&
   posts_per_page=5’ ); } ?>
 * Before I changed it, the posts_per_page wast set to =3 which explains why I was
   only getting the last 3 posts. I hope this helps someone along the way.
 * However, I’m still looking for the solution as to why the <-Older Posts and Newer
   Posts -> doesn’t take me to the older/newer quotes. HELP!!!
 * .
 *  Thread Starter [Infoprincess](https://wordpress.org/support/users/infoprincess/)
 * (@infoprincess)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/older-posts-newer-posts/#post-3366467)
 * I’ve done as instructed and the problem still exists. Here is the loop file code
   for the “newer posts”/”older posts”
 * <?php
    if ( is_home() || is_archive()) { query_posts($query_string . ‘&cat=3&
   posts_per_page=5’ ); } ?>
 * <?php /* Display navigation to next/previous pages when applicable */ ?>
    <?php
   if ( $wp_query->max_num_pages > 5 ) : ?> <div id=”nav-above” class=”navigation”
   > <div class=”nav-previous”><?php next_posts_link( __( ‘<span class=”meta-nav”
   >←</span> Older posts’, ‘twentyten’ ) ); ?></div> <div class=”nav-next”><?php
   previous_posts_link( __( ‘Newer posts <span class=”meta-nav”>→</span>’, ‘twentyten’));?
   ></div> </div><!– #nav-above –> <?php endif; ?>
 * Any more suggestions? This is frustrating …. thanks in advance

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

The topic ‘Older Posts, Newer Posts’ is closed to new replies.

## Tags

 * [newer posts](https://wordpress.org/support/topic-tag/newer-posts/)
 * [older posts](https://wordpress.org/support/topic-tag/older-posts/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [Infoprincess](https://wordpress.org/support/users/infoprincess/)
 * Last activity: [13 years, 4 months ago](https://wordpress.org/support/topic/older-posts-newer-posts/#post-3366467)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
