Override posts per page for Nicer Archives (2 posts)

  1. mattnida
    Posted 9 years ago #

    Hello everyone,

    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...?

    Many thanks!

  2. Ian Dunn
    Posted 9 years ago #

    have you tried the Custom Query String plugin?

Topic Closed

This topic has been closed to new replies.

About this Topic