Automatically set numberposts
I’m trying to set up an intelligent archive system for my wordpress entries. So far I’ve done quite well, see http://beingmrkenny.co.uk/blog/blogarchive.php
You can enter the month and year as GET variables:
What I’d like to do would be to set ‘numberposts’ to some sort of “max” value, or “all” so that all posts within the date range were given. So far I have had to enter it at 60, which is the maximum number of posts in any month, but when the number of posts is less than that, empty
<li>tags are generated.
Is there a way to set
numberpoststo something more sensitive?
- The topic ‘Automatically set numberposts’ is closed to new replies.