這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

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.

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.

螢幕擷圖

  • Screenshot 1
  • Screenshot 2

安裝方式

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.

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:

日期

  • 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

常見問題集

There are a dozen countdown clock plugins out there. Why should I use yours?

Because you like simple things, like we do.

參與者及開發者

以下人員參與了開源軟體〈Captain Countdown Clock〉的開發相關工作。

參與者

將〈Captain Countdown Clock〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0.0

  • I made this.

1.0.1 – 1.0.4

  • Cosmetic changes.

1.0.5

  • Added a support link in case the javascript fails.

1.0.6

  • Added a nofollow tag to the support link