This version adds a new feature and has several bugfixes and improvements:

  • new: month links in the block can point to month titles in the list.
  • new: validate excluded categories input
  • fix: block respects excluded categories option
  • new: uses scbOptionsPage framework 1.0
  • fix: single wp-cron event when changing cache interval
  • fix: redundant calls to displaySAR::generate()

PHP5 is required.

Comments (17)

  • Rishi says:

    Hi there! I’ve used this plugin for months and loved it… especially the caching to a .txt file aspect. :-) Is there any way that in a future release, you could have options to not only display the months, but also a tag cloud and maybe a category listing? These are already template tags in WordPress 2.7, but incorporating your caching technique along with the original plugin would be fantastic! Heh, just a suggestion if you’re ever bored.

  • Jens says:

    Thanks for the change to the option with anchor links in the block, works like a charm! // Jens.

  • Will says:

    Simply extract to plugin directly and tried to enable and I get:

    “Plugin could not be activated because it triggered a fatal error.

    Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’in /home/war59312/public_html/wp-content/plugins/smart-archives-reloaded/smart-archives-reloaded.php on line 27″

    Running WP 2.7 on PHP4.

  • Will says:

    Ouch!

    O.K tried 1.2 and it activated fine, but when I pull up wp-admin/options-general.php?page=smart-archives I get this error:

    Cannot load smart-archives.

    Work with WP 2.7?

  • Will says:

    I dont see one anywhere. :(

    • scribu says:

      Nevermind. The URL wasn’t the problem. I think you’re better off using the original Smart Archives plugin. Sorry.

  • Will says:

    Well I play on upgrading to PHP 5 soon anyhow. Just have to upgrade some in home scripts first..

    So thanks anyhow..

  • Will says:

    By the way perhaps you should check php version then..

    Here is an example function to do just that:

    http://pastebin.com/f5cad91cd

    • scribu says:

      That wouldn’t work all the time due to parser errors that may occur (which means the message won’t have the chance to be displayed). I think the best way is to let users know before they install it.

  • Matthew says:

    Is there any way to improve the caching? Hourly is just not fast enough, especially considering how WordPress’s wp_get_archives function retrieves the posts immediately.

  • Vince says:

    Thanks for your plugin, but it doesn’t display accentuated characters correctly in month title (you can check on my blog here : http://www.tousenpirogue.com/archives/