Shortcodes

The Countdown Plugin for Wordpress uses Wordpress Short Codes to display date countdowns on pages or posts on your site, for more information on short codes you can look at the documentation.

Below is an explanation of the plugin's shortcodes.

Short code:

[escd cd_date="2012, 3, 23" cd_desc="Our offer expires on {cd_date}" cd_expire_text="Sorry! You missed our special offer which expired on {cd_date}" cd_color="blue" cd_size="large"]

What it does: Will display a running timer counting down the day, hours, minutes and seconds to the date you enter.

The above shortcode will render on your site:

Argument List:

Argument: cd_date

What it does: Enter the date as "Year, Month, Day" to show the countdown to that date in days, hours, minutes and seconds.

Example:
[escd cd_date="2012, 6, 15"]

Argument: cd_desc
                
(optional)

What it does: Displays a string below the counter.  It can be a description of the offer or description of the expiration

Example:

[escd cd_date="2012, 6, 15" cd_desc="Our limited-time offer expires on {cd_date}."]

Use of the placeholder {cd_date} will replace the placeholder with the date cd_date.

Argument: cd_expire_text
                 (optional)

What it does: Contains the text you would like to appear when the timer expires.

Example:
[escd cd_date="2012, 6, 15" cd_expire_text="Sorry, this offer has expired."]

Use of the placeholder {cd_date} will replace the placeholder with the date cd_date.

Argument: cd_color
                
(optional if you prefer to use the default color)

What it does: The font color of the countdown timer.

Valid cd_color values are: black, blue, green, orange, pink, purple, red, teal

Example:
[escd cd_date="2012, 6, 15" cd_color="green"]

Argument: cd_size
                 (optional if you prefer to use the default color)

What it does:  The font size of the countdown timer.

Valid cd_size values are: extrasmall, small, medium, large, extralarge

Example:
[escd cd_date="2012, 6, 15" cd_size="medium"]

Feedback and Knowledge Base