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

Devgirl Countdown Clock

外掛說明

The simple countdown clock is used to countdown to a date and time of your choosing using a WordPress shortcode.

  • Use the shortcode on more than one page or post.
  • The shortcode comes with different options you can set.
  • Choose your date to countdown to.
  • Choose your background colour.
  • Choose your text colour.
  • Choose from available styles.
  • Clock also displays text in Afrikaans, Dutch, Spanish, French, German and Portuguese.

螢幕擷圖

  • The default countdown clock.
  • Add the shortcode in a page or post.
  • Add the shortcode in the Elementor shortcode widget.
  • Use options in the shortcode to customise your countdown clock.
  • Usage in Afrikaans is also an option.

安裝方式

  1. Install the plugin and click Activate.
  2. Use the following shortcode to display in your post, page, text widget or Elementor shortode: [devgirl-countdown-clock time="31 Dec 2023 8:00"]
  3. Put your own date and time in here: time="31 Dec 2023 8:00".
  4. Navigate to Settings->Devgirl Countdown Clock for all instructions.

All Parameters

  • name=" " eg: name="My Countdown clock"
  • time=" " eg: time="30 Nov 2023 9:00"
  • style=" " eg: style="wedding"
  • clock-colour=" " eg: clock-colour = "orange"
  • text-colour=" " eg: text-colour = "#000000"

Full shortcode example with all parameters used:

  • [devgirl-countdown-clock name="My Sports Event" time="31 Dec 2023 8:00" style="sport" clock-colour="red" text-colour="#000000"]

Colour inputs you can use:

  • A word eg: red
  • A hex value eg: #0011aa
  • Clock-color only: For those who are CSS savvy, any CSS value for the clock-colour parameter. It is a background shorthand property.

    eg: rgba(0, 0, 0, 0.5)
    eg: linear-gradient(to left, darkTurquoise, aqua, blue)

Styles you can choose from

  • wedding or sport eg: style="wedding"
  • Default – leave the style paramater out

Use in another language (Afrikaans, Dutch, Spanish, French, German or Portuguese)

  • Go to Settings->General->Site Language and change it to Afrikaans, Dutch, Spanish, French, German or Portuguese.
  • The text on the clock will now be in the language you chose.
  • Basic instructions in Settings->Devgirl Countdown clock are in the language you chose.

常見問題集

Can I use this countdown clock more than once on a page or post?

Yes, just make sure that you set a unique name in the name=" " shortcode property.

What can we expect to see in future releases?

  • An admin area with global options.
  • Clock styles (Some styles added).
  • Plugin widget.

Can I make suggestions to improve your plugin?

Yes, please do, your feedback would be totally appreciated!

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

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

參與者

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

對開發相關資訊感興趣?

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

變更記錄

2.0

  • This was a major coding update so therefore I moved it up to a new version. *
  • This version you can now use the clock more than once on a page or post. *
  • I moved the javascript code to an external file and called it using enqueue. I instantiated the class within the plugin shortcode loop.*
  • I removed the end notice and the hiding of the clock once the countdown has completed and instead set the clock to display 0 on all it’s values.*
  • I removed the php function in the shortcode as it was causing errors and added ob_start so that the clock code will be buffered and appear in the correct place in the content, not just output at the top.*
  • Added language support for the following languages: Afrikaans, Dutch, Spanish, French, German or Portuguese support.

1.0

  • This is the first release of this plugin. *