• hey, i tried to page the query results on my theme but the next page link is *link*&paged=5.
    i dont know why it writes paged and not page.
    can someone tell me how to fix it?

    $wp_query = new WP_Query( 'showposts=5&page=' . get_query_var( 'page' ). '&orderby=id&order=DESC' );
    next_posts_link('More »', 5);

    thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • in any case, it has to be ‘paged’ as parameter;

    does it work with paged ?

    $wp_query = new WP_Query( 'showposts=5&paged=' . get_query_var( 'paged' ). '&orderby=id&order=DESC' );
    next_posts_link('More »', 5);

    afaik, it was paged before wp3.

    (the codex does not have to be right all the time; after all it is written by humans)

    Thread Starter avihai1

    (@avihai1)

    nop, it doesnt work. i already tried it before and changed it but forgot to chage it back.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘paging query results’ is closed to new replies.