Ive seen this problem before (http://wordpress.org/support/topic/161229?replies=8) However I cannot implement the solution.
My home page shows posts in a slightly different way. Let me try and explain.
The code below shows the first post.
<!-- First Post --> <?php $top_query = new WP_Query('showposts=1'); ?> <?php while($top_query->have_posts()) : $top_query->the_post(); $first_post = $post->ID; ?>
Then after, a different div style is used to display the next lot of posts for the page.
<!-- Next few posts --> <?php $next_query = new WP_Query('showposts=6'); ?> <?php while($next_query->have_posts()) : $next_query->the_post(); if(!($first_post == $post->ID)) : ?>
This isn’t my theme, so I really lack the ability to understand how to edit it to implement the fix.
Can anyone help me out here?
thanks in advance
- The topic ‘Next/Previous Links from Home Page Show Same Posts (posts displayed in two sets)’ is closed to new replies.