Title: WordPress Page Navigation Issue
Last modified: August 19, 2016

---

# WordPress Page Navigation Issue

 *  [theros](https://wordpress.org/support/users/theros/)
 * (@theros)
 * [18 years, 5 months ago](https://wordpress.org/support/topic/wordpress-page-navigation-issue/)
 * On this page [here](http://s229351126.onlinehome.us/events/) WordPress won’t 
   display the “Next” and “Previous” page navigation even though I have more than
   3 posts (3 is the limit I put in the options) under that category.
 * Here’s the code for that page:
 *     ```
       <?php $my_query = new WP_Query('cat=5');
         while ($my_query->have_posts()) : $my_query->the_post();
         $do_not_duplicate = $post->ID;?>
         <div class="titles">
         <h2><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a><br />
       <?php the_time('m.d.Y'); ?></h2>
         </div>
       		<?php the_content(__('(more...)')); ?>
         <?php endwhile; ?>
        <?php next_posts_link('&laquo; Previous Entries') ?>
        <?php previous_posts_link('Next Entries &raquo;') ?>
       ```
   
 * Is there any reason to why this doesn’t display the page navigation?
 * Thanks,
    Eric Huang

Viewing 1 replies (of 1 total)

 *  Thread Starter [theros](https://wordpress.org/support/users/theros/)
 * (@theros)
 * [18 years, 5 months ago](https://wordpress.org/support/topic/wordpress-page-navigation-issue/#post-673415)
 * bumpage

Viewing 1 replies (of 1 total)

The topic ‘WordPress Page Navigation Issue’ is closed to new replies.

## Tags

 * [navigation](https://wordpress.org/support/topic-tag/navigation/)
 * [page](https://wordpress.org/support/topic-tag/page/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [theros](https://wordpress.org/support/users/theros/)
 * Last activity: [18 years, 5 months ago](https://wordpress.org/support/topic/wordpress-page-navigation-issue/#post-673415)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
