having a similar issue, except when I hit the next link it displays the same posts again
here is the code I’m using:
<?php
$thequery = new WP_Query();
$thequery->query('category_name=featured'.'&paged='.$paged);
?>
<?php if($thequery->have_posts()) : while ($thequery->have_posts()) : $thequery->the_post(); ?>
=====do stuff======
<?php endwhile; ?>
<?php endif; ?>
I tried inserting the following:
<?php $paged = (get_query_var(‘paged’)) ? get_query_var(‘paged’) : 1;
but this didn’t seem to make a difference.
Anyone have any ideas?