Title: Days Until
Author: Enuratique
Published: <strong>2012 年 2 月 21 日</strong>
Last modified: 2012 年 7 月 25 日

---

搜索插件

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

![](https://s.w.org/plugins/geopattern-icon/days-until.svg)

# Days Until

 作者：[Enuratique](https://profiles.wordpress.org/enuratique/)

[下载](https://downloads.wordpress.org/plugin/days-until.1.1.zip)

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

 [支持](https://wordpress.org/support/plugin/days-until/)

## 描述

Originally I used the “Countdown Timer” plugin written by Andrew Ferguson to accomplish
what I wanted,
 however, his implementation to output in just days also outputted
extraneous text that I was not interested in. On top of that, the actual count algorithm
was flawed. Rather than hack this plugin to pieces to get the output I needed, I
decided to just roll my own.

This is a bare bones, no-frills plugin since this is my first attempt at it. This
means no
 fancy options or configuration screens.

To use the plugin, simply install it and then use the following shortcode to output
the number
 of days until a given date in its place:

[days_until date=”SPECIFIC DATE”]

Where “SPECIFIC DATE” can be any text that that PHP’s strtotime function can understand.

## 安装

This section describes how to install the plugin and get it working.

e.g.

 1. Upload `daysuntil.php` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Place `[days_until date="SPECIFIC DATE"]` in your content

## 常见问题

None yet.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Days Until」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Enuratique ](https://profiles.wordpress.org/enuratique/)

[帮助将「Days Until」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/days-until)

### 对开发感兴趣吗?

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

## 更新日志

#### 1.1

 * Just now realized that the instructions in the readme were wrong (missing the
   date attribute), functionally nothing else changed.

#### 1.0

 * The genesis

## 额外信息

 *  版本 **1.1**
 *  最后更新：**14 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 2.0.2 或更高版本 **
 *  已测试的最高版本为 **3.3.2**
 *  语言
 * [English (US)](https://wordpress.org/plugins/days-until/)
 * 标签
 * [utility](https://cn.wordpress.org/plugins/tags/utility/)
 *  [高级视图](https://cn.wordpress.org/plugins/days-until/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/days-until/reviews/#new-post)

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

## 贡献者

 *   [ Enuratique ](https://profiles.wordpress.org/enuratique/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/days-until/)

## 捐助

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

 [ 捐助此插件 ](http://ericmedin.com/musings/days-until-plugin/)