Plugin Directory

Countdown Timer

This plugin allows you to setup a series of dates to count to or from in terms of years, months, weeks, days, hours, minutes, and/or seconds.

Download Version 2.4.2

If you can, use the automatic WordPress installer/upgrader.

Otherwise, delete any previous version of Countdown Timer and associated files.

Download and install the timer into your plugins directory.

Activate the timer and add the widget.

If you don't want to use the widget, you can also add the following code into your sidebar.php file:

<li id='countdown'><h2>Countdown:</h2>
<ul>
<?php function_exists('fergcorp_countdownTimer')?fergcorp_countdownTimer():NULL; ?>
</ul>
</li>

Events can be added and other settings modified in the Settings > Countdown Timer section of the Administration Menu.

Inserting countdown timers into a page or post

If you want to insert the Countdown Timer into a page or post, you can use the following shortcodes to return all or a limited number of Countdown Timers, respectively: [fergcorp_cdt] [fergcorp_cdt max=##]

Where ## is maximum number of results to be displayed - ordered by date

If you want to insert individual countdown timers, such as in posts or on pages, you can use the following shortcode:

Time until my birthday: [fergcorp_cdt_single date="ENTER_DATE_HERE"]

Where "ENTER_DATE_HERE" uses PHP's strtotime function and will parse about any English textual datetime description.

Limiting the number of countdown timers displayed

If you're using the widget, there is an option to set the maximum number of timers shown. If you are using the PHP code, replace

fergcorp_countdownTimer()

with

fergcorp_countdownTimer(##)

where ## is the maximum number of events you wish to be displayed.

Events are automatically sorted by date of occurrence.

Changing the font, size, and style using CSS

Starting with version 2.4, you can makes changes to the appearance of Countdown Timer display using CSS.

The following CSS classes are available:

  • fergcorp_countdownTimer_event_li styles each List Item, each item encompasses one countdown event
  • fergcorp_countdownTimer_event_title styles the title of the event
  • fergcorp_countdownTimer_event_linkTitle styles the title of an event if it is linked
  • fergcorp_countdownTimer_event_time styles the actual countdown timer

Requires: 2.7 or higher
Compatible up to: 3.0.5
Last Updated: 2010-7-23 Downloads: 113,326

Average Rating

5 stars
4 stars
3 stars
2 stars
1 star
(49 ratings)

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

Log in to vote.

100,2,2
100,4,4
100,1,1
100,6,6
100,3,3 100,1,1 33,3,1 100,5,5
67,3,2
100,3,3
33,3,1
50,2,1
100,1,1
0,1,0
67,3,2