I liked the idea of Sotak's calendar icons, but the colours didn't fit in with my theme, and I wanted the text to be a little easier to read, and to include the year.

So I made my own:

DEC 31 1999
JAN 22 2008
FEB 9 2025
MAR 22 2008
APR 22 2008
MAY 2 2025
JUN 31 2008
JUL 22 2008

Rather than an icon for each month, this technique uses just 1 background image (.png and psd attached) and a slightly modified template.php. Everything else can be styled with CSS.

With a bit of imagination, and a couple of tweaks to the function, and a few lines of CSS these icons can be very flexible. Different colour for articles over a year old? No problem. Colour coded by taxonomy? Sorted.

Syndicate content

Random Image:

Leave only foo.
Charlie asleep in the conservatory

Pete's tweets (@prbass)

  • I'm still tweeting, but website won't update. So long and thanks for the fishy terms of service Twitter... 5 years 34 weeks ago
  • Entrance to Victoria underground station currently closed, why don't @TFLtravelalerts ever announce this? 5 years 44 weeks ago
  • Back from hols. Diary for tomorrow says "Data Monday" hard work on UK Civil Society Almanac 2013 begins in earnest 5 years 46 weeks ago
  • @FionaPSDN I love that NHS infographic - now I understand, these are not "top down" reforms, they are "middle out" 5 years 48 weeks ago