snippet

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:

Charlie playing with the hosepipe
Charlie asleep in the conservatory
Barons Court Tube
Making tracks

Pete's tweets (@prbass)

  • If the man from the pest control contractor doesn't find any rats, does it mean I'm on a sinking ship? #cuts #restructuring #doom 12 hours 37 min ago
  • Dear @Numune4MS you do realise that promoting quack miracle cures on twitter means the sceptic mob and @bengoldacre might find you? 13 hours 51 min ago
  • RT @LDN New research shows motorists no longer consider cyclists weirdy beardy Guardian readers http://bit.ly/9NRaeg <-but I am all of those 1 day 16 hours ago
  • JK Rowling makes a £10million gift, is this a #photoshopdisaster or have Death Eaters done something weird to her face? http://is.gd/eNeFw 3 days 15 hours ago