Title: Devgirl Countdown Clock
Author: devgirl
Published: <strong>2023 年 1 月 6 日</strong>
Last modified: 2023 年 3 月 16 日

---

搜索插件

![](https://ps.w.org/devgirl-countdown-clock/assets/banner-772x250.jpg?rev=2844883)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/devgirl-countdown-clock/assets/icon.svg?rev=2844892)

# Devgirl Countdown Clock

 作者：[devgirl](https://profiles.wordpress.org/elfynity5/)

[下载](https://downloads.wordpress.org/plugin/devgirl-countdown-clock.2.0.zip)

 * [详情](https://cn.wordpress.org/plugins/devgirl-countdown-clock/#description)
 * [评价](https://cn.wordpress.org/plugins/devgirl-countdown-clock/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/devgirl-countdown-clock/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/devgirl-countdown-clock/#developers)

 [支持](https://wordpress.org/support/plugin/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 ](https://profiles.wordpress.org/elfynity5/)

[帮助将「Devgirl Countdown Clock」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/devgirl-countdown-clock)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/devgirl-countdown-clock/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/devgirl-countdown-clock/)，或通过
[RSS](https://plugins.trac.wordpress.org/log/devgirl-countdown-clock/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/devgirl-countdown-clock/)。

## 更新日志

#### 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. *

## 额外信息

 *  版本 **2.0**
 *  最后更新：**3 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 4.9 或更高版本 **
 *  已测试的最高版本为 **6.1.10**
 *  PHP 版本 ** 5.2 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/devgirl-countdown-clock/)
 * 标签
 * [countdown clock](https://cn.wordpress.org/plugins/tags/countdown-clock/)[countdown timer](https://cn.wordpress.org/plugins/tags/countdown-timer/)
   [time limit](https://cn.wordpress.org/plugins/tags/time-limit/)
 *  [高级视图](https://cn.wordpress.org/plugins/devgirl-countdown-clock/advanced/)

## 评级

尚未提交反馈。

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

[查看全部评论](https://wordpress.org/support/plugin/devgirl-countdown-clock/reviews/)

## 贡献者

 *   [ devgirl ](https://profiles.wordpress.org/elfynity5/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/devgirl-countdown-clock/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://devgirl.co.za/plugins-donations/)