Title: Expire posts
Author: sirmacik
Published: <strong>2015 年 8 月 3 日</strong>
Last modified: 2016 年 6 月 9 日

---

搜索插件

![](https://ps.w.org/expire-posts/assets/banner-772x250.png?rev=1211667)

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

![](https://ps.w.org/expire-posts/assets/icon-256x256.png?rev=1211817)

# Expire posts

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

[下载](https://downloads.wordpress.org/plugin/expire-posts.1.0.5.zip)

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

 [支持](https://wordpress.org/support/plugin/expire-posts/)

## 描述

NO LONGER IN ACTIVE DEVELOPMENT OR SUPPORT. This plugin serves only as proof of 
concept that worked at some point and is a good starter for many other solutions.

### How to:

After installation go to Expire posts section in your Dashboard. It’s expected
 
that you already have created your custom post type or not (if you’ll be using posts
or pages for expiration).

Choose:
 – desired post type – expiration checking frequency (plugin utilizes wp-
cron) – and expiration time (for ex. 2 weeks, 5 days, 1 month, 2 years – must be
provided in English) – enable post expiration and save options, you’re good to go!

### Use case:

If you’re running some WordPress based service (with job offers or anything
 else)
or just want to add some post type with expiration date to your blog (let’s say 
contests or polls). After proper setup expire-posts lets you expire them automatically!

### Goals:

 * ✓ define post-type
 * ✓ define time
 * ✓ expire post (move to trash or draft state) under given circumstances.
 * ✓ wp-admin interface
 * ✓ make it compliant with WordPress plugins directory guidelines
 * define action (this is to be written later since WordPress has really poor support
   of custom post statuses)

## 屏幕截图

[⌊Plugin settings interface⌉⌊Plugin settings interface⌉[

Plugin settings interface

## 安装

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

 1. Upload `expire-post.php` to the `/wp-content/plugins/expire-posts/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

## 常见问题

No questions yet.

## 评价

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

### 󠀁[Dangerous](https://wordpress.org/support/topic/dangerous-9/)󠁿

 [somePaulo](https://profiles.wordpress.org/finomeno/) 2016 年 9 月 3 日 3 回复

This plugin started deleting all my posts (not even CPTs) as soon as it was set 
up. Despite looking disabled in settings. Configuration changes did not save, showing
initial settings (like expiry=off) on every reload. Disabling the plugin didn’t 
stop the deletion, only removing it completely. By the time I realized what was 
happening and deleted the plugin, I was left with over 4,000 deleted posts. At least
they went to trash. But restoring them from trash takes ages, and then they’re all
drafts. Hours of work ruined. Very frustrating.

 [ 阅读所有2条评价 ](https://wordpress.org/support/plugin/expire-posts/reviews/)

## 贡献者及开发者

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

贡献者

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

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

### 对开发感兴趣吗?

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

## 更新日志

#### 1.0.4

 * Ceased development and support.

#### 1.0.3

 * Possible fix for installation error, due to previous plugin upload glitch.

#### 1.0.2

 * readme.txt improvements

#### 1.0.1

 * preparations for

#### 1.0

 * improved time calculations
 * added admin settings page
 * settings kept in database instead of code

#### 0.1-alpha

 * expires posts
 * no other interface than code

## 额外信息

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

## 评级

 3 星（最高 5 星）。

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

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

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

## 贡献者

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

## 支持

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

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