[Resolved] Previous/Next Links when using Multiple Loops?
I am using 5 loops on my index page, each pulling the last post from a different category.
Next/previous links go to page 2 but show the same (most recent) posts again.
I searched the forum, and the only solution I could find that addressed this same problem suggested using get_posts instead of query_posts in the loop, but I am already using get_posts.
Here is the code for one of the loops (the rest are the same, except for category id):
$lastposts = get_posts('numberposts=1&category=5');
foreach($lastposts as $post) :
<?php the_content(); ?>
<?php endforeach; ?>
- The topic ‘[Resolved] Previous/Next Links when using Multiple Loops?’ is closed to new replies.