How to over-ride maximum-posts-per-page for archive pages?
-
I am creating an archive.php that only lists post titles with no post content. Somewhere in this code is the command that is telling the page to limit the number of posts to those specified in the Dashboard (same as on index.php). I want it to display all the posts for that archive query:
<?php if (have_posts()) :?>
<?php $postCount=0; ?>
<?php while (have_posts()) : the_post();?>Sure it is a simple tweak, just not sure what to do.
Thanks for any help.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘How to over-ride maximum-posts-per-page for archive pages?’ is closed to new replies.