Title: Simple Post Expiration
Author: Syed Balkhi
Published: <strong>2014 年 8 月 19 日</strong>
Last modified: 2016 年 10 月 10 日

---

搜索插件

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

![](https://s.w.org/plugins/geopattern-icon/simple-post-expiration.svg)

# Simple Post Expiration

 作者：[Syed Balkhi](https://profiles.wordpress.org/smub/)

[下载](https://downloads.wordpress.org/plugin/simple-post-expiration.zip)

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

 [支持](https://wordpress.org/support/plugin/simple-post-expiration/)

## 描述

A simple plugin that allows you to set an expiration date on posts. Once a post 
is expired, “Expired” will be prefixed to the post title.

You can show the expiration status of a post using the [expires] short code.

The [expires] short code accepts 5 optional parameters:

 * expires_on – The text to be shown when a post has not yet expired. Default: `
   This item expires on: %s`
 * expired – The text to be shown when a post is expired. Default: `This item expired
   on: %s`
 * date_format – The format the expiration date should be displayed in
 * class – The class or classes given to the DIV element
 * id – The ID given to the DIV element

The `%s` will be replaced with the expiration date.

Have you found a bug or have a suggestion or improvement you’d like to submit? This
plugin is available on [Github](https://github.com/pippinsplugins/Simple-Post-Expiration)
and pull requests are welcome!

## 屏幕截图

 * [[
 * Metabox added to each post / custom post type
 * [[
 * Metabox with calendar showing
 * [[
 * Expired post with modified title
 * [[
 * Expired / Expiring Posts widget

## 安装

 1. Activate the plugin
 2. Go to Settings > Reading and set the expired prefix
 3. Add an expiration date to any post item that you wish to expire at a certain point
    in time
 4. Optionally add the [expires] short code to the post content

## 评价

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

### 󠀁[Just works](https://wordpress.org/support/topic/just-works-685/)󠁿

 [Liang](https://profiles.wordpress.org/liang1216/) 2021 年 11 月 27 日

It works as what the developer said.

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

### 󠀁[I like this plugin](https://wordpress.org/support/topic/i-like-this-plugin-81/)󠁿

 [sams007](https://profiles.wordpress.org/sams007/) 2018 年 7 月 26 日 1 回复

I recently downloaded the plugin and it works and displaying on the item Expired
once it is expired. I hope if it has a function to hide the expired item as well.

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

### 󠀁[there is no possibility to choose the time](https://wordpress.org/support/topic/there-is-no-possibility-to-choose-the-time/)󠁿

 [itpcss](https://profiles.wordpress.org/itpcss/) 2017 年 2 月 26 日

there is no possibility to choose the time, except for the choice of the date is
more than anything. Add if you can also select the time. If there was still a possibility
except off positions, it would be even disable the widget, in general would have
been super !!!

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

### 󠀁[Just works!](https://wordpress.org/support/topic/just-works-341/)󠁿

 [AL Guevara](https://profiles.wordpress.org/albabes/) 2017 年 2 月 5 日

Very simple, and works!

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

### 󠀁[Nice, but no time feature 🙁](https://wordpress.org/support/topic/nice-but-no-time-feature/)󠁿

 [himanshu456](https://profiles.wordpress.org/himanshu456/) 2017 年 2 月 8 日

I really found this plugin easy to use and nice. But would have given 5 STARS rating,
if there would have a feature of time of a particular day to make a post expire.
Like if i want to make a post expire at 5PM of 7 oct 2014. How is this possible??
Waiting for a reply.

 [ 阅读所有7条评价 ](https://wordpress.org/support/plugin/simple-post-expiration/reviews/)

## 贡献者及开发者

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

贡献者

 *   [ Syed Balkhi ](https://profiles.wordpress.org/smub/)
 *   [ Pippin Williamson ](https://profiles.wordpress.org/mordauk/)
 *   [ Brian Richards ](https://profiles.wordpress.org/rzen/)

[帮助将「Simple Post Expiration」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/simple-post-expiration)

### 对开发感兴趣吗?

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

## 更新日志

#### 1.0.1

 * Fix: Notice with PHP 7
 * New: Translation files for pt_PT

#### 1.0

 * First release!

## 额外信息

 *  版本 **1.0.1**
 *  最后更新：**10 年前**
 *  活跃安装数量 **400+**
 *  WordPress 版本 ** 3.6 或更高版本 **
 *  已测试的最高版本为 **4.7.33**
 *  语言
 * [English (US)](https://wordpress.org/plugins/simple-post-expiration/)
 * 标签
 * [expiration](https://cn.wordpress.org/plugins/tags/expiration/)[expire](https://cn.wordpress.org/plugins/tags/expire/)
   [posts](https://cn.wordpress.org/plugins/tags/posts/)
 *  [高级视图](https://cn.wordpress.org/plugins/simple-post-expiration/advanced/)

## 评级

 4.6 星（最高 5 星）。

 *  [  5 条 5 星评价     ](https://wordpress.org/support/plugin/simple-post-expiration/reviews/?filter=5)
 *  [  1 条 4 星评价     ](https://wordpress.org/support/plugin/simple-post-expiration/reviews/?filter=4)
 *  [  1 条 3 星评价     ](https://wordpress.org/support/plugin/simple-post-expiration/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/simple-post-expiration/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/simple-post-expiration/reviews/?filter=1)

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

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

## 贡献者

 *   [ Syed Balkhi ](https://profiles.wordpress.org/smub/)
 *   [ Pippin Williamson ](https://profiles.wordpress.org/mordauk/)
 *   [ Brian Richards ](https://profiles.wordpress.org/rzen/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/simple-post-expiration/)

## 捐助

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

 [ 捐助此插件 ](http://pippinsplugins.com/support-the-site)