This release was basically written by Simon Pritchard. I just added the finishing touches.

Fancy new style

Version 1.7 adds an integrated multi-level navigation UI to the archives, perfect for sites with a large number of posts.

Fancy archive on the default theme

See a live example.

New formatting tags

First, you have %category_link% and %category%, which will output a category list for each post.

Secondly, you have %date%, wich will print out the publish date of each post. There is an additional field where you can customize the date format.

If you like the new features, go thank Simon for his effort.

Comments (22)

  • Very nice looking! :-)

  • Rishi says:

    Great job with this new “fancy style” feature! It’s a perfect solution to what I was beginning to fear – a congested archives page.

  • BeTrulyHappy says:

    I’ve downloaded it, created a page called archives, so now how do I get it to show up on that page? Please explain.

    My website is BeTrulyHappy.com

    • scribu says:

      Just add [smart_archives] to the page content.

      (This step was mentioned on the Installation tab)

      • BeTrulyHappy says:

        Wow your response was so quick! I actually read through the other posts you have and found the answer. I came back to this page right now to tell you I found it, but mannn you are fast!

        Thanks alot! I love this plugin.

  • Thanks Scribu for adding my fancy archive to the plugin :-)

    Hope you like it!

  • Darren says:

    When I select the Fancy option, I’m just seeing the years, not the months underneath. If I click on a year I just get posts from that year in my blog. Any idea?

    • scribu says:

      It seems the javascript isn’t loaded. Make sure you have wp_footer() in footer.php in your theme directory.

      • Darren says:

        Cool, that fixed it, and it also fixed another plugin that wasn’t working, WP-TwitterBadge. Sir, you are a genius, thank you.

  • Sean says:

    New installation of WP 2.8.4, triggering this error:

    Parse error: syntax error, unexpected T_CLASS in /home/seanicho/public_html/wp-content/plugins/smart-archives-reloaded/smart-archives-reloaded.php on line 55

    Never experienced this before, having used SAR for a looong time.

  • afzaal khan says:

    Hi there,

    Like a lot your plugin. A quick qts am using fancy option. I started my blog in June of this year and we now in October. When I click on Archive page the June month is open. Is there a way to make current month displayed instead of month when blog started? Thanks

    http://www.sohnidhurti.com/archives/

    above is link to my archive page if u want to see wat i mean.

    • scribu says:

      Yeah, that makes sense. I’ll try to fix it in the next release.

      • I actually thought of this too after the 1.7 release but I just haven’t had time to re-visit the plugin yet… If Scribu doesn’t get to it first I’ll try to make the change in the next day or so.

  • afzaal khan says:

    Thanks guys for quick response I hope to see update plugin options through wordpressss plugin otherwise i will be lost on how to install. Lol anyway cheers guys

  • Good job on the re-ordering and tidyup in 1.7.1 Scribu (I’d been scratching my head for the past couple hours trying to figure out the best way to do the “current month first” thing!).

    A couple of suggestions though:

    I think it would still be nicer to have the years current first eg. 2009 2008 etc.

    There’s a line in the css as that doesn’t seem to do anything helpful but pushes the month list out to an unneccesary width:

    .tabs li + li {
    margin-left:1em !important;
    }

    Is this doing something special and I’m just missing something? I simply override this in my own css but in themes where the wp-head call comes after the themes css the “!important” attribute on this element will prevent overriding of the style.

    • scribu says:

      I think it would still be nicer to have the years current first eg. 2009 2008 etc.

      Whatever order the years have, the months should follow the same order, imo.

      There’s a line in the css as that doesn’t seem to do anything helpful but pushes the month list out to an unneccesary width:

      Yeah, the CSS still needs some cleaning up.

  • Cheryl says:

    I love it, but I wonder if you could allow an alternative for the fancy option to display all posts of each year (rather than each month). I.e.

    2007 2008 2009
    Jan Feb Mar Apr … Dec

    But upon clicking the month links, rather than switching the page, it internally links to the that month’s list of posts. In other words, it’s the current ‘both’ option combined with the ‘fancy’ option, divided by year rather than month.

  • frank says:

    hi & thanks for this plugin.

    is there a way to display links to posts without titles? right now, it seems only those which have a title are linked when using %post_link%, and i’m unable to patch it myself apparently .. would really like to see this added somehow (for example, to link the first few words of the article, when there’s no title itself).

    thanks in advance,
    ~ f.

    • frank says:

      okay, did it myself (around lines 430, i did a strange “hack” not being a programmer per se, but apparently it works on my (currently private) site). thanks anyway, appreciate the plugin! :-)