Support » Fixing WordPress » Older posts Page 2 showing posts, Page 3 is not

  • Hello,

    I’m running wordpress inside Joomla
    and if you click on older posts, Page 2 displays the desired 20 posts, but Page 3 shows nothing.

    There are more posts to be displayed on page 3, so not a matter of how many posts there are.

    Here’s the loop code

    <?php $page = (get_query_var(‘paged’)) ? get_query_var(‘paged’) : 1;

    <?php if (have_posts()) : while (have_posts()) : the_post();
    if( $post->ID == $do_not_duplicate ) continue; update_post_caches($posts); ?>

    And the navigation code

    <div class=”navigation”>
    <div class=”alignleft”><b><?php next_posts_link(‘« Older Entries’) ?></b></div>
    <div class=”alignright” style=”margin-right:30px;”><b><?php previous_posts_link(‘Newer Entries »’) ?></b></div>

    They seem pretty standard. Any ideas?

Viewing 1 replies (of 1 total)
  • Or does anyone have a link to a solution? I’ve searched the forums and haven’t found a situation where the older posts worked for the second page but not the third.

Viewing 1 replies (of 1 total)
  • The topic ‘Older posts Page 2 showing posts, Page 3 is not’ is closed to new replies.