Older posts Page 2 showing posts, Page 3 is not
-
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?
- The topic ‘Older posts Page 2 showing posts, Page 3 is not’ is closed to new replies.