• Hi!

    I am using the jarrah 1.7 theme. As footer I use the “archives”, but it only displays the last five months although I’ve been running my blog for almost a year.

    Are there any settings that I can change so that all months are displayed?

    Thanks,

    Gerrit

Viewing 5 replies - 1 through 5 (of 5 total)
  • A link to your site might help.

    Thread Starter Gerrit Pelzer

    (@dr-g-1)

    I have no experience with that theme, but I just downloaded the latest version. It say’s it’s Jarrah 1.7.

    In bottombar.php, there’s a line that says the following:

    <?php wp_get_archives('type=monthly&limit=5'); ?>

    Change that limit to -1 to do unlimited, or whatever number of months you’d like to show. I also just tested it, and it looks like it won’t even break the theme’s footer layout. I didn’t test in multiple browsers, though, just Firefox on Mac.

    Thread Starter Gerrit Pelzer

    (@dr-g-1)

    Thanks Tim, that’s perfect!

    (The -1 though results in showing Feb 2011 only, not unlimited (Chrome on Macbook))

    Whoops, that’s what I get for going off memory. You actually leave limit off totally to get unlimited. ie:

    <?php wp_get_archives('type=monthly'); ?>

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘"Archives" displays only the last 5 months. How to display all?’ is closed to new replies.