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

---

搜尋外掛

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 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://tw.wordpress.org/plugins/days-until/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/days-until/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/days-until/#installation)
 * [開發資訊](https://tw.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 或更新版本 **
 *  已測試相容的 WordPress 版本 **3.3.2**
 *  語言
 * [English (US)](https://wordpress.org/plugins/days-until/)
 * 標籤:
 * [utility](https://tw.wordpress.org/plugins/tags/utility/)
 *  [進階檢視](https://tw.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/)