I’m running a movie blog (WP1.5) at http://www.blacklagoon.info. I’m in the process of creating an straightforward site index using the narchives.php script, which you can see in action here: http://www.blacklagoon.info/map.php
I’ve used some extra code to display the header and footer from my theme.
However, the number of posts it displays is limited by the posts-per-page setting in WordPress options. I’d like it to show every single post. The php file sits in the root wordpress folder. I’ve tried a number of plugins but they don’t seem to have any effect. How can I specify a post count for this single PHP file?
The Nicer Archives script contains the code
$posts_per_page = '-1';
but this doesn’t seem to do a blind bit of difference. Any suggestions…?
- The topic ‘Override posts per page for Nicer Archives’ is closed to new replies.