WordPress Countdown Widget
Today is my birthday. Woo! So that means, I’m not doing anything fancy, so without further ado
Number 4 in Widget-A-Day is a countdown widget.
It’ll display the amount of time until a certain event, or if it passed, how long ago it was. Lame? Yes. Do I care? Not really. Is there Javascript? No. Was there supposed to be? Yes. Why not? Because I’m lazy.
Update: By request, added a new version
Download countdown.zip (countdown.tar.gz)
Default display:

Admin panel:

Requirements
- WordPress 2.2 or 2.0.x/2.1.x with WordPress Widgets
Installation
- Download countdown.zip (gz)
- Extract and upload countdown.php to the plugins/ directory
- Enable Countdown Widget in the Plugin admin panel
- In widget admin panel, place Countdown in the sidebar, and edit it to enter your the time and name
Download countdown.zip (countdown.tar.gz)
Posting your comment
calv | June 4, 2007 @ 2:31 am
I missed your birthday? Damn. Hope it was a good one.
jenny | June 4, 2007 @ 1:03 pm
lame? haha, it’s not that bad!
i was just curious if there is some way to customize the colors/fonts?
thanks!
~jenny
ah_skeet | June 4, 2007 @ 1:43 pm
Haha, yeah. I usually keep it pretty quiet. Thanks. It wasn’t too bad. Mainly just played some N64 at a friends house.
ah_skeet | June 5, 2007 @ 3:44 pm
Jenny, sorry, your comment got stuck in moderation. But, I just hacked together a a version that can use styles.
I added widget style, which is the style for the whole widget. Just edit it with CSS.
I also added link style, which is the style of the link, if existent. Just use CSS.
So, if you want the color to be green and the font be larger, edit widget style with “color: #00FF00; font-size: 125%;”
Here’s the new version:
Download countdown-new.zip (countdown-new.tar.gz)
Countdown and Popular Posts | N. | August 5, 2007 @ 3:11 am
[…] addition is the Cowntdown Widget. I set it so that it would count down until when Heroes season 2 starts. You can see it on the […]
Marco | January 24, 2008 @ 11:54 am
Any tips on how can i change this widget, so it can be used several times?
(like the default text and rss widgets)
The Simon Woodward Blog » Blog Archive » Widgety-woo with Pie and Mash-up please. | March 13, 2008 @ 3:10 pm
[…] MAY also notice that underneath this video is a countdown…to my birthday! This widget is from the same author, James Wilson, and you can customise it to countdown to anything you want […]
gulflee | April 1, 2008 @ 2:26 am
will this support wpmu?