Title: WP Post Expires
Author: X-NicON
Published: <strong>2016 年 8 月 16 日</strong>
Last modified: 2020 年 11 月 2 日

---

搜尋外掛

![](https://ps.w.org/wp-post-expires/assets/banner-772x250.png?rev=1475897)

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

![](https://ps.w.org/wp-post-expires/assets/icon-128x128.png?rev=1475897)

# WP Post Expires

 由 [X-NicON](https://profiles.wordpress.org/x-nicon/) 開發

[下載](https://downloads.wordpress.org/plugin/wp-post-expires.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/wp-post-expires/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/wp-post-expires/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/wp-post-expires/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/wp-post-expires/#developers)

 [技術支援](https://wordpress.org/support/plugin/wp-post-expires/)

## 外掛說明

這是一款能夠設定文章到期日期及到期狀態的簡易外掛，設定的時間到期後便會執行 [新增
標題前置詞]、[重設為草稿]、[移至回收桶] 這三項操作的其中一項。

#### 外掛功能

 * 設定文章到期日期和時間
 * 支援自訂內容類型，預設值為支援 [文章] 及 [頁面]
 * 已到期文章可採取的操作分別為 [重設為草稿]、[移至回收桶]、[新增標題前置詞]
 * 將類別 `post-expired` 新增至文章中，因此可在佈景主題中自訂網站前端及管理後台的
   文章到期狀態樣式

#### 在佈景主題中使用

    ```
    XNPostExpires::isExpired($post_id)

    XNPostExpires::dateExpiration($post_id, $date_format)
    ```

## 螢幕擷圖

 * [[
 * 在文章中選取日期和時間
 * [[
 * 為文章新增自訂前置詞
 * [[
 * 預設設定

## 安裝方式

 1. 將外掛壓縮檔解壓縮後的資料夾含全部檔案上傳至 `/wp-content/plugins`
 2. 在管理後台的 [外掛] 頁面啟用這個外掛
 3. 使用 [設定]→[閱讀] 頁面設定這個外掛

## 使用者評論

![](https://secure.gravatar.com/avatar/a284d1a497d6f9d989c83e74243caf4c8efd1996fc0e9dcf2e7bb5bd50850d84?
s=60&d=retro&r=g)

### 󠀁[Works Great](https://wordpress.org/support/topic/works-great-7987/)󠁿

 [sarahgardnerpointright](https://profiles.wordpress.org/sarahgardnerpointright/)
2021 年 11 月 18 日

Works great, I use it on several sites.

![](https://secure.gravatar.com/avatar/89da38600b16de15e7c3fb10d0f81a949a6864702a7e3a133f66b62c26cd7772?
s=60&d=retro&r=g)

### 󠀁[Is this plugin no longer being supported?](https://wordpress.org/support/topic/is-this-plugin-no-longer-being-supported-2/)󠁿

 [Sea Jay](https://profiles.wordpress.org/jcollier/) 2021 年 3 月 8 日 2 則留言

Update 3/8/21. Not working with 5.6.2. Several issues from earlier support tickets
seem to still be unresolved. The time-picker isn’t appearing under the calendar 
picker. Custom Post Types aren’t being expired. I notice that support tickets going
back one year haven’t been answered. Is this plugin being supported?

![](https://secure.gravatar.com/avatar/085ef91291046e2b7aaf51a751f589d9b57a3bece9e78a1ba2976332621fbcf7?
s=60&d=retro&r=g)

### 󠀁[working](https://wordpress.org/support/topic/working-168/)󠁿

 [nishantvermathebest](https://profiles.wordpress.org/nishantvermathebest/) 2019
年 3 月 29 日

guys, it is working completely fine. I personally tested on 5.1.1 wordpress. read
the installation instruction. Thanks team.

![](https://secure.gravatar.com/avatar/b712c47d1713a131959136e159a55f4ba0811762a2740c3cb983f005b6aa765a?
s=60&d=retro&r=g)

### 󠀁[Date Picker Doesn’t Work](https://wordpress.org/support/topic/date-picker-doesnt-work-6/)󠁿

 [Kazam Creative](https://profiles.wordpress.org/goldenagemedia/) 2018 年 8 月 23
日

Upon first installation, the date picker doesn’t work when trying to set the expiry
date. Well, that basically renders this plugin useless. Great idea, but needs to
work properly first.

![](https://secure.gravatar.com/avatar/e868f79a101854da25eeb1e4dc3c969597c8a0c9317b5de1c5aab45d38e902cb?
s=60&d=retro&r=g)

### 󠀁[not working](https://wordpress.org/support/topic/not-working-2595/)󠁿

 [especially](https://profiles.wordpress.org/especially/) 2018 年 7 月 19 日

>>This plugin turns posts to a blank page when set a date to expire. same with me.
Any ideas?

![](https://secure.gravatar.com/avatar/496a3e51c73280ae4b6e8ac2bfbab4fab52306c1dee3a301e2dbdbe4a85f9d6b?
s=60&d=retro&r=g)

### 󠀁[Break posts after set a date.](https://wordpress.org/support/topic/break-posts-after-set-a-date/)󠁿

 [luisserrano](https://profiles.wordpress.org/luisserrano/) 2018 年 4 月 29 日

This plugin turns posts to a blank page when set a date to expire.

 [ 閱讀全部 14 則使用者評論 ](https://wordpress.org/support/plugin/wp-post-expires/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈WP Post Expires〉的開發相關工作。

參與者

 *   [ X-NicON ](https://profiles.wordpress.org/x-nicon/)

〈WP Post Expires〉外掛目前已有 4 個本地化語言版本。 感謝[全部譯者](https://translate.wordpress.org/projects/wp-plugins/wp-post-expires/contributors)
為這個外掛做出的貢獻。

[將〈WP Post Expires〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/wp-post-expires)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/wp-post-expires/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/wp-post-expires/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/wp-post-expires/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/wp-post-expires/)。

## 變更記錄

#### 1.2.5

fix bug loop expire. Tnx @d79 (https://github.com/d79)
 versiob wp 5.5.3

#### 1.2.4

fix bugs classic editor/gutenberg js, tnx @micahjsharp

#### 1.2.3

add status in post state
 change logic for draft and trash, tnx @micahjsharp use
local wp timezone

#### 1.2.2

support classic editor on wp 5.0+

#### 1.2.1

Small fixes:
 https://wordpress.org/support/topic/fatal-error-3074/ ( tnx @marknopfler)
https://wordpress.org/support/topic/fix-js-and-php-error/ ( tnx @lastant )

#### 1.2

use DateTime Picker jQuery-ui refactoring

#### 1.1

conflicts resolved
 fix datetime picker update datetime picker

#### 1.0.3

small fixes
 add Italian translation (tnx, Paolo Centomani)

#### 1.0.2

fix notice and accessing static property

#### 1.0.1

fixed translation

#### 1.0

init1 – Mr. Robot

## 中繼資料

 *  版本 **1.2.5**
 *  最後更新 **6 年前**
 *  啟用安裝數 **2,000+**
 *  WordPress 版本需求 ** 5.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **5.5.18**
 *  語言
 * [Chinese (Taiwan)](https://tw.wordpress.org/plugins/wp-post-expires/)、[Czech](https://cs.wordpress.org/plugins/wp-post-expires/)、
   [English (US)](https://wordpress.org/plugins/wp-post-expires/)、[German](https://de.wordpress.org/plugins/wp-post-expires/)、
   及 [Swedish](https://sv.wordpress.org/plugins/wp-post-expires/).
 *  [將這個外掛本地化為你的母語版本](https://translate.wordpress.org/projects/wp-plugins/wp-post-expires)
 * 標籤:
 * [expiration](https://tw.wordpress.org/plugins/tags/expiration/)[expire](https://tw.wordpress.org/plugins/tags/expire/)
   [posts expiring](https://tw.wordpress.org/plugins/tags/posts-expiring/)
 *  [進階檢視](https://tw.wordpress.org/plugins/wp-post-expires/advanced/)

## 評分

 3.3 星，滿分為 5 星

 *  [  7 個 5 星使用者評論     ](https://wordpress.org/support/plugin/wp-post-expires/reviews/?filter=5)
 *  [  1 個 4 星使用者評論     ](https://wordpress.org/support/plugin/wp-post-expires/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/wp-post-expires/reviews/?filter=3)
 *  [  1 個 2 星使用者評論     ](https://wordpress.org/support/plugin/wp-post-expires/reviews/?filter=2)
 *  [  5 個 1 星使用者評論     ](https://wordpress.org/support/plugin/wp-post-expires/reviews/?filter=1)

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

[查看全部使用者評論](https://wordpress.org/support/plugin/wp-post-expires/reviews/)

## 參與者

 *   [ X-NicON ](https://profiles.wordpress.org/x-nicon/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/wp-post-expires/)

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](https://xnicon.ru/donate)