A year ago today

I added the “A Year Ago Today” Plugin to the site. Use it by adding the following Smarty tag to your site template (ie. in index.tpl)

{todayayearago heading='<h1>A Year Ago</h1>’}

There are a number of differences between this plugin and the original:

  1. The “heading” part is the heading displayed if there are any posts, otherwise nothing is displayed.
  2. If no title exists for the old entry, then an extract of the old entry is printed.
  3. I fixed a bug with the $siteurl variable.

Unfortunately, there were no posts on 2002-04-25, but there were on 2002-04-26 so you’ll see them pop up tomorrow!

Leave a Reply

%d bloggers like this:

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close