[resolved] [Plugin: Smart Archives Reloaded] Limit number of posts in each month (5 posts)

  1. scribu
    Posted 6 years ago #


    Hi there,

    First let me say thank you for creating such a nice archive plugin for WordPress. It's wonderful.

    I have a question though, regarding the number of posts that the plugin will display in each monthly category. I'd like to limit the list of post subjects to around 50. As of right now it will display all of them, which makes for a very long page.

    Is there syntax for this within the code?

    <?php smart_archives('format=list&exclude_cat=123,543'); ?>


  2. scribu
    Posted 6 years ago #

    There isn't currently an option to limit the number of posts by month.

    Try the fancy mode first - it solves the very long page problem, visually.

  3. cybersnac
    Posted 6 years ago #

    I'm currently using the fancy mode. Here is the URL so you can see what I mean by "long" page.


  4. scribu
    Posted 6 years ago #

    The option was easy enough to add, so it's already available in the Development Version (1.9a).

    The syntax is this:

    <?php smart_archives('posts_per_month=50'); ?>

  5. cybersnac
    Posted 6 years ago #

    Works beautifully! Thank you again for such a great plugin.

Topic Closed

This topic has been closed to new replies.

About this Topic