I have categories driven site. I have different template for each category. I would like to set different number of posts – different for each category. Plus I would like to add proper previous and next links in each category.
for example in this
category-1.php I want 4 posts per page:
<?php query_posts('showposts=4'); ?> <a href="<?=next_posts()?>"> PREVIOUS </a> <a href="<?=previous_posts()?>"> NEXT </a> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> ... <?php endwhile; endif; ?>
but in this example
previous_posts() doesn't work.