Is there a good/proper way to override posts per page?
I’m whipping up a hack to have archives similar to these but need to override the posts per page that is used to control the number of posts on index.php.
Currently I’m doing it by adding
$posts_per_page = ‘1000’;
but there has to be a “clean” way of doing it.
Once I can get this solved, I’ll release the code for this type of archive, since I’ve seen quite a few requests for it.
See it in action.
- You must be logged in to reply to this topic.