Skip to content

Latest commit

 

History

History
60 lines (35 loc) · 1.82 KB

README.md

File metadata and controls

60 lines (35 loc) · 1.82 KB

Captain Countdown Clock

A simple and customizable WordPress countdown clock. Includes settings to sync your website's time to your time zone, even if they are off by an odd number of minutes.

Before adding the shortcode, visit the Plugin Instructions page to sync the countdown clock with your local time or to correct any time discrepancies your server may have.

Instructions

Add the following shortcode to your page:

[captain_countdown date="2/13/2016" time="5:00 pm" title="Countdown To My Special Day!" format="usa"]

Most date and time formats will work:

Dates

  • 2/13/2016
  • February 13, 201
  • 2016-02-13

Times

  • 5:00 pm
  • 17:00:30
  • 17:30

Note: The "date" option is required and the "time" option is optional.

If you specify "usa" for the format, your date will look like this:

February 12, 2016

Leave the format attribute blank (or remove it completely) for the default date display:

12 February 2016

Other Shortcode Options

Change the background color or image (default is none):

[captain_countdown date="2/13/2016" title="Countdown To My Special Day!" background="#FF0000"]

[captain_countdown date="2/13/2016" title="Countdown To My Special Day!" background="http://mysite.com/path/to/background.png"]

Change the text color (default is black):

[captain_countdown date="2/13/2016" title="Countdown To My Special Day!" text="#FFFFFF"]

Change the border color (default is none):

[captain_countdown date="2/13/2016" title="Countdown To My Special Day!" border="#000000"]

You can use common color names instead of hex values as well:

  • Use "#000000" or "Black" for Black
  • Use "#FFFFFF" or "White" for White
  • Use "#FF0000" or "Red" for Red
  • Use "#00FF00" or "Green" for Green
  • Use "#0000FF" or "Blue" for Blue

Click here for more color options.