• Hello,

    I’m running wordpress inside Joomla https://www.ediblecommunities.com/frontrange/
    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;
    query_posts(“cat=6&showposts=20&paged=$page”);
    ?>

    <?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>
    </div>

    They seem pretty standard. Any ideas?

Viewing 1 replies (of 1 total)
  • Thread Starter tydende

    (@tydende)

    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.