Support » Fixing WordPress » Pagination error… when use query_posts() ??

  • Well… when I tried to use the query_posts(‘post_per_page=5’) … it shows only 5, ok, … but the next and previous pagination link, just doesn’t work… when I press… It reloads the page again with the same article listing. Sometimes It just show one different article but all the same, or It just get mess up with the number of the pages… =S

    What’s wrong?? Can’t we use this query and have the pagination working?? =/

Viewing 2 replies - 1 through 2 (of 2 total)
  • I have the same problem.

    I’ve just run into this with php query_posts(‘cat=-##’);

    Has anyone found a solution?

    Doh. Found my answer in a little detail near top of the query_posts Codex page that’s mentioned once and then completely ignored further down. Make sure to read the last bit of the Usage section closely.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Pagination error… when use query_posts() ??’ is closed to new replies.