Title: query_posts posts_nav_link problem
Last modified: August 19, 2016

---

# query_posts posts_nav_link problem

 *  Resolved [wynny](https://wordpress.org/support/users/wynny/)
 * (@wynny)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/query_posts-posts_nav_link-problem/)
 * hello,
 * my problem is that i have 2 blogpages and i cant use the posts_nav_link
 * sorry for my bad english, but let me try to explain:
    on my homepage i have a
   page “blog” which shows all post, except posts with the category ‘fotos’.
 * on the page ‘fotos’ only posts with the category ‘fotos’ are displayed – works
   fine.
 * i only want to display 5 post per page, but the problem is that the posts_nav_link
   on both (blog)pages are not working correctly, i think because every post is 
   counted.
 * any ideas how to fix this?

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

 *  Thread Starter [wynny](https://wordpress.org/support/users/wynny/)
 * (@wynny)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/query_posts-posts_nav_link-problem/#post-861731)
 * resolved by myselfe 😛
 *  [adziena](https://wordpress.org/support/users/adziena/)
 * (@adziena)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/query_posts-posts_nav_link-problem/#post-861769)
 * Hi wynny,
 * I’m running into the same problem. I’m excluding a few categories from my homepage
   with a call to query_posts, and now posts_nav_link generates an extra “older 
   posts” page (I think because it’s counting posts from categories that it shouldn’t.
   How did you resolve this?
 * Thanks
 *  [mk009](https://wordpress.org/support/users/mk009/)
 * (@mk009)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/query_posts-posts_nav_link-problem/#post-861833)
 * I’m currently looking how to solve this too. It would be great if people who 
   had the problem and solved it said how they did.

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

The topic ‘query_posts posts_nav_link problem’ is closed to new replies.

## Tags

 * [Multiple Blogs](https://wordpress.org/support/topic-tag/multiple-blogs/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [mk009](https://wordpress.org/support/users/mk009/)
 * Last activity: [16 years, 9 months ago](https://wordpress.org/support/topic/query_posts-posts_nav_link-problem/#post-861833)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
