Support » Fixing WordPress » Page navigation & query_posts

  • Resolved loauc

    (@loauc)


    Hi,

    I’m using query_posts(‘cat=-7’) to exclude posts from category 7 in my index page. Then, I’m using posts_nav_link for page navigation. The problem here is that I only get the most recent posts displayed.

    I have tried setting the Options > Reading > max number of posts per page to 3, to -1, to 10 and also specifying them in the query_posts(‘cat=-7&posts_per_page=3’) function but I don’t get the expected behaviour.

    Any suggestions?

    Thanks in advance,
    Felix.

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Page navigation & query_posts’ is closed to new replies.