Page navigation doesn’t work
-
I’m using this code to split my posts into two:
<?php query_posts('showposts=1') ?>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>........ 1st Post Code ..........
<?php endwhile; ?>
<?php $posts = get_posts('numberposts=19&offset=1');
foreach($posts as $post):
setup_postdata($post);
?>....... Code of second posts .......
<?php endforeach; ?>
But now the navigation doesn’t seem to work anymore. When i click ‘Previoud/Next entries’ wordpress goes to /index.php?paged=2 but actually only the first posts are shown. I want to keep the 1st Post Code, but when I navigate the posts of the 2nd Posts have to change. Is this possible?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Page navigation doesn’t work’ is closed to new replies.