Title: Expiring Posts
Author: Ivan
Published: <strong>2019 年 3 月 21 日</strong>
Last modified: 2022 年 1 月 23 日

---

搜尋外掛

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

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

# Expiring Posts

 由 [Ivan](https://profiles.wordpress.org/ivankk/) 開發

[下載](https://downloads.wordpress.org/plugin/expiring-posts.1.3.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/expiring-posts/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/expiring-posts/#reviews)
 * [開發資訊](https://tw.wordpress.org/plugins/expiring-posts/#developers)

 [技術支援](https://wordpress.org/support/plugin/expiring-posts/)

## 外掛說明

This plugin adds functionality to expire a post on a given date.

This plugin currently only works with the classical editor.

It does this by adding a new “Expires” date field in the Publish box.

By default posts don’t expire, but you can add a date instead.

Once that date is reached, the post is marked as expired and is no longer visible
to the end user.

### Dev Notes

 * Dev occurs via https://github.com/ivankruchkoff/wp-expiring-posts
 * the new post status is `expired`
 * a filter called `exp_disable_expiration_for_this_post` exists to disable this
   feature on a per-post basis.

## 螢幕擷圖

 * [[
 * By default a post never expires.
 * [[
 * But you can add a date instead.

## 常見問題集

### If I enable this plugin, what will happen to my existing posts?

Nothing, the posts current post state will remain unchanged.

### Will I be able to see expired posts?

Yes, they will be visible in the _expired_ view within the post entry list for your
post type.

### Will this plugin work with custom post types too?

Yes.

### If I have a post set to expire and I use the filter to disable expiry for a speicific post, what happens?

When the `exp_disable_expiration_for_this_post` filter is used, the UI for control
post expiry will not be shown, and the post will not expire. In other words, the
filter overrides post expiration.

## 使用者評論

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

### 󠀁[Muito bom](https://wordpress.org/support/topic/muito-bom-1769/)󠁿

 [eufernando](https://profiles.wordpress.org/eufernando/) 2023 年 2 月 16 日

Ótimo plugin, obrigado. Gostaria de saber como faço habilitar em somente um tipo
de postagem especifica? <font style=”vertical-align: inherit;”><font style=”vertical-
align: inherit;”>Outra dúvida é como faço para já deixar demarcado o campo “nunca
expira” como padrão ? Pois a expiração é um requisito da minha publicação e não 
pode ser esquecido(site de vagas de emprego).</font></font> Edit: Sou Leigo em programação
mas a questão da checkbox já ficar desmarcada como padrão eu consegui resolver alterando
a linha 342 para: <input type=”checkbox” name=”exp-enable” <?php checked( false );?
> id=”exp-enable” value=”never” /> Agora só preciso fazer com que a expiração seja
habilitada somente em uma tipo de postagem específica.

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

### 󠀁[Could be better](https://wordpress.org/support/topic/could-be-better-41/)󠁿

 [Amrod](https://profiles.wordpress.org/amrod1/) 2019 年 11 月 4 日

Thank you for the plugin. Why it is not working when we choose a time like 10 min.
later? Ex. Current time Nov 4 2019 15:00 and set to expire Nov 4 2019 15:10 Post
expires right away without waiting for 10 min. 2. question is there a shortcode 
to echo expiration date on the post?

 [ 閱讀全部 2 則使用者評論 ](https://wordpress.org/support/plugin/expiring-posts/reviews/)

## 參與者及開發者

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

參與者

 *   [ Ivan ](https://profiles.wordpress.org/ivankk/)

[將〈Expiring Posts〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/expiring-posts)

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

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

## 中繼資料

 *  版本 **1.3**
 *  最後更新 **4 年前**
 *  啟用安裝數 **800+**
 *  WordPress 版本需求 ** 3.0.1 或更新版本 **
 *  已測試相容的 WordPress 版本 **5.9.13**
 *  PHP 版本需求 ** 5.3 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/expiring-posts/)
 * 標籤:
 * [expire](https://tw.wordpress.org/plugins/tags/expire/)[expire posts](https://tw.wordpress.org/plugins/tags/expire-posts/)
   [expiring](https://tw.wordpress.org/plugins/tags/expiring/)[post expiry](https://tw.wordpress.org/plugins/tags/post-expiry/)
 *  [進階檢視](https://tw.wordpress.org/plugins/expiring-posts/advanced/)

## 評分

 3.5 星，滿分為 5 星

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

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

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

## 參與者

 *   [ Ivan ](https://profiles.wordpress.org/ivankk/)

## 技術支援

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

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