Title: Countdown Timer
Author: zaus
Published: <strong>22 Fevrer 2012</strong>
Last modified: 22 Fevrer 2012

---

Search plugins

![](https://ps.w.org/countdown-timer-abt/assets/banner-772x250.jpg?rev=508839)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/countdown-timer-abt_908292.svg)

# Countdown Timer

 By [zaus](https://profiles.wordpress.org/zaus/)

[Download](https://downloads.wordpress.org/plugin/countdown-timer-abt.zip)

 * [Details](https://lmo.wordpress.org/plugins/countdown-timer-abt/#description)
 * [Reviews](https://lmo.wordpress.org/plugins/countdown-timer-abt/#reviews)
 *  [Installation](https://lmo.wordpress.org/plugins/countdown-timer-abt/#installation)
 * [Development](https://lmo.wordpress.org/plugins/countdown-timer-abt/#developers)

 [Support](https://wordpress.org/support/plugin/countdown-timer-abt/)

## Screenshots

 * [[
 * Admin options page with templates, placeholders
 * [[
 * Usage example – note that “explicit” options use single-quotes to allow double-
   quotes in HTML
 * [[
 * Output example – with Firebug showing HTML

## Installation

 1. Unzip, upload plugin folder to your plugins directory (`/wp-content/plugins/`)
 2. Activate plugin
 3. Add countdown shortcode anywhere you need it.

Check out the included admin help page for complete explanation within WordPress!

## FAQ

  What’s the shortcode?

In full glory:

    ```
    [countdown_timer
        target_time="2012-05-05 14:03:00"
        complete_text="It's Done!"
        format= {CUSTOM HTML FORMAT - SEE BELOW}
        date_separator='<span class="d-sep">/</span>'
        time_separator='<span class="t-sep">:</span>'
        label_format="<em>%s</em>"
        timezone="America/New_York"
    ]
    ```

  Developer Hooks

The following filters are provided to adjust both the attributes (before rendering)
and the format (after rendering).

You would use them like:

    ```
    add_filter( 'abt_countdown_timer__pre_render', 'my_countdown_prerender' );
    function my_countdown_prerender($attributes) { ... }

    add_filter( 'abt_countdown_timer__post_render', 'my_countdown_postrender' );
    function my_countdown_postrender($output, $attributes) { ... }
    ```

This is how they’re used in the plugin:

    ```
    // hook - adjust attributes used to render the countdown
    $attributes = apply_filters( 'abt_countdown_timer__pre_render', $attributes );

    // hook - add "before", "after"; alter rendered output
    $formatted_time = apply_filters( 'abt_countdown_timer__post_render', $formatted_time, $attributes );
    ```

  Other Options

 * _Title and Link_ – tooltip text when hovering over timer; optional link from 
   clicking timer
 * _Timezones_ – specify a timezone for calculations (if different than WP timezone)
 * _Output format_ – HTML wrapper for result fields; uses special placeholder formats
   for label, separators, and time values (see `[strftime][]`)
 * _Date Separator_ – text between date values, if used in _Output Format_
 * _Time Separator_ – text between time values, if used in _Output Format_
 * _Interval Label_ – wrapper for laber for “Year”, “Month”, etc

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Countdown Timer” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ zaus ](https://profiles.wordpress.org/zaus/)
 *   [ Atlantic BT ](https://profiles.wordpress.org/atlanticbt/)

[Translate “Countdown Timer” into your language.](https://translate.wordpress.org/projects/wp-plugins/countdown-timer-abt)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/countdown-timer-abt/),
check out the [SVN repository](https://plugins.svn.wordpress.org/countdown-timer-abt/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/countdown-timer-abt/)
by [RSS](https://plugins.trac.wordpress.org/log/countdown-timer-abt/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 0.7

 * bugfixes, singleton, hooks
 * submitted to WP

#### 0.6

 * refactored for public consumption

#### 0.5

 * split plugin from custom code

## Meta

 *  Version **0.7**
 *  Last updated **14 years ago**
 *  Active installations **10+**
 *  WordPress version ** 3.0 or higher **
 *  Tested up to **3.3.2**
 *  Language
 * [English (US)](https://wordpress.org/plugins/countdown-timer-abt/)
 * Tags
 * [countdown](https://lmo.wordpress.org/plugins/tags/countdown/)[countdown timer](https://lmo.wordpress.org/plugins/tags/countdown-timer/)
   [shortcode](https://lmo.wordpress.org/plugins/tags/shortcode/)[timer](https://lmo.wordpress.org/plugins/tags/timer/)
   [widgets](https://lmo.wordpress.org/plugins/tags/widgets/)
 *  [Advanced View](https://lmo.wordpress.org/plugins/countdown-timer-abt/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/countdown-timer-abt/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/countdown-timer-abt/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/countdown-timer-abt/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/countdown-timer-abt/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/countdown-timer-abt/reviews/?filter=1)

[Add my review](https://wordpress.org/support/plugin/countdown-timer-abt/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/countdown-timer-abt/reviews/)

## Contributors

 *   [ zaus ](https://profiles.wordpress.org/zaus/)
 *   [ Atlantic BT ](https://profiles.wordpress.org/atlanticbt/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/countdown-timer-abt/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](http://atlanticbt.com/)