Title: Countdown Timer
Author: zaus
Published: <strong>22. veljače 2012.</strong>
Last modified: 22. veljače 2012.

---

Pretraga dodataka

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

Dodatak **nije testiran s zadnje 3 glavna izdanja WordPressa**. Možda ga se više
ne održava ili pruža podršku i možda ima probleme sa kompatibilnošću s novijim inačicama
WordPressa.

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

# Countdown Timer

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

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

 * [Detalji](https://hr.wordpress.org/plugins/countdown-timer-abt/#description)
 * [Recenzije](https://hr.wordpress.org/plugins/countdown-timer-abt/#reviews)
 *  [Instalacija](https://hr.wordpress.org/plugins/countdown-timer-abt/#installation)
 * [Razvoj](https://hr.wordpress.org/plugins/countdown-timer-abt/#developers)

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

## Snimke zaslona

 * [[
 * 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

## Instalacija

 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!

## ČPP

  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

## Recenzije

Nema recenzija za ovaj dodatak.

## Suradnici i Programeri

“Countdown Timer” je softver otvorenog koda. Sljedeće osobe su doprinijele ovom 
dodatku.

Suradnici

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

[Prevedite “Countdown Timer” na svoj jezik.](https://translate.wordpress.org/projects/wp-plugins/countdown-timer-abt)

### Zainteresirani ste za razvoj?

[Pregledajte kôd](https://plugins.trac.wordpress.org/browser/countdown-timer-abt/),
pogledajte [SVN spremište](https://plugins.svn.wordpress.org/countdown-timer-abt/)
ili se pretplatite na [dnevnik razvoja](https://plugins.trac.wordpress.org/log/countdown-timer-abt/)
od [RSS](https://plugins.trac.wordpress.org/log/countdown-timer-abt/?limit=100&mode=stop_on_copy&format=rss).

## Dnevnik promjena

#### 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**
 *  Zadnje ažuriranje **prije 14 godina**
 *  Aktivnih instalacija **10+**
 *  WordPress inačica ** 3.0 ili viša **
 *  Testirano do **3.3.2**
 *  Language
 * [English (US)](https://wordpress.org/plugins/countdown-timer-abt/)
 * Oznaka
 * [countdown](https://hr.wordpress.org/plugins/tags/countdown/)[countdown timer](https://hr.wordpress.org/plugins/tags/countdown-timer/)
   [shortcode](https://hr.wordpress.org/plugins/tags/shortcode/)[timer](https://hr.wordpress.org/plugins/tags/timer/)
   [widgets](https://hr.wordpress.org/plugins/tags/widgets/)
 *  [Napredni pogled](https://hr.wordpress.org/plugins/countdown-timer-abt/advanced/)

## Ocjena

 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)

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

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

## Suradnici

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

## Podrška

Želite nešto reći? Potrebna vam je pomoć?

 [Pregledaj forum za podršku](https://wordpress.org/support/plugin/countdown-timer-abt/)

## Doniraj

Želite li podržati napredak ovog dodatka?

 [ Donirajte ovom dodatku ](http://atlanticbt.com/)