Forums

[resolved] query_posts posts_nav_link problem (4 posts)

  1. wynny
    Member
    Posted 3 years ago #

    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?

  2. wynny
    Member
    Posted 3 years ago #

    resolved by myselfe :P

  3. adziena
    Member
    Posted 3 years ago #

    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

  4. MK009
    Member
    Posted 2 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic