Title: Help with posts_nav_link, does not work
Last modified: August 18, 2016

---

# Help with posts_nav_link, does not work

 *  [tenetor](https://wordpress.org/support/users/tenetor/)
 * (@tenetor)
 * [18 years, 7 months ago](https://wordpress.org/support/topic/help-with-posts_nav_link-does-not-work/)
 * Hi all
 * My blog is [http://www.elfuturodeloslibros.com.ar](http://www.elfuturodeloslibros.com.ar),
   at the very end you´ll find the “Anteriores” link created with posts_nav_link,
   but the /page/2 link does not work, it always goes to the first page.
 * Is it a theme problem? I see it working fine in others.
 * Thanks

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

 *  [abelafonte](https://wordpress.org/support/users/abelafonte/)
 * (@abelafonte)
 * [18 years, 6 months ago](https://wordpress.org/support/topic/help-with-posts_nav_link-does-not-work/#post-655565)
 * I don’t know if I was hallucinating, but I know posts_nav_link was working for
   me earlier this week. Now, I’m having the same problem you have.
 * In my search, I found [this thread](http://wordpress.org/support/topic/112912?replies=10),
   but it’s not relevant for 2.3.
 * I’m eagerly awaiting an answer from SOMEBODY! But, from the looks of it, we’re
   in for a long wait.
 *  [abelafonte](https://wordpress.org/support/users/abelafonte/)
 * (@abelafonte)
 * [18 years, 6 months ago](https://wordpress.org/support/topic/help-with-posts_nav_link-does-not-work/#post-655566)
 * Tenetor,
 * I finally found a thread that got mine working. I had to change the function 
   used to query posts.
 *     ```
       <?php
       if( is_home() ) {
       $page = (get_query_var('paged')) ? get_query_var('paged') : 1;
       query_posts("cat=3&showposts=2&paged=$page");
       }
       ?>
       ```
   
 * Only I took all the arguments out that I don’t need, and left `paged=$page`
 * It came from this thread [http://wordpress.org/support/topic/38210?replies=14](http://wordpress.org/support/topic/38210?replies=14)
 *  [abelafonte](https://wordpress.org/support/users/abelafonte/)
 * (@abelafonte)
 * [18 years, 6 months ago](https://wordpress.org/support/topic/help-with-posts_nav_link-does-not-work/#post-655572)
 * Here is a simpler php call that I’ve found works as well
 *     ```
       <?php posts_nav_link(' &bull; ', __('&laquo; Newer Entry'), __('Older Entry &raquo;')); ?>
       ```
   

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

The topic ‘Help with posts_nav_link, does not work’ is closed to new replies.

## Tags

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

 * 3 replies
 * 2 participants
 * Last reply from: [abelafonte](https://wordpress.org/support/users/abelafonte/)
 * Last activity: [18 years, 6 months ago](https://wordpress.org/support/topic/help-with-posts_nav_link-does-not-work/#post-655572)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
