Pagination does not work (4 posts)

  1. borbs
    Posted 7 years ago #

    Hi guys!
    I'm trying to put pagination on the THE MORNING AFTER template... But it does not work. Here's the code:

    $paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
    $the_query = new WP_Query('cat=-' .$catid. ',-' .$catid2. ',-2705&showposts=10&offset=1&orderby=post_date&paged=' .$paged. '&order=desc');
    while ($the_query->have_posts()) : $the_query->the_post();
    $do_not_duplicate = $post->ID; ?>

    Where's the problem...?

  2. Use "page" instead of "paged".

  3. borbs
    Posted 7 years ago #

    Still doesn't work. =/

  4. sharkb8
    Posted 6 years ago #

    I am having the same issue with this template. I can't seem to get it to work even with a plugin. I've contacted the dev and hopefully he'll clue me in.

Topic Closed

This topic has been closed to new replies.

About this Topic