Paging Issue in Category
-
Hi All,
I’ve the following code but having issues with it. The paging works and shows 1 post per page with the more link. But if I click it, I get my
messgae of Sorry, no events matched your criteria.Am I not using the code correctly?
$paged = (get_query_var('paged')) ? get_query_var('paged') : 1; query_posts('posts_per_page=1&paged='.$paged.'&cat=1'); if ( have_posts() ) : while ( have_posts() ) : the_post(); include(TEMPLATEPATH."/interview_block.php"); ?> <div class="navigation"> <div class="alignleft"><?php previous_posts_link('« Previous') ?></div> <div class="alignright"><?php next_posts_link('More »') ?></div> </div> <?php endwhile; ?>
TIA
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Paging Issue in Category’ is closed to new replies.