跳到内容

WP Post Expires

v1.2.5

X-NicON · 2016年8月16日 上架

Plugin adds post expires time after which will be performed actions: add prefix to title, move to drafts or trash.

正在使用
1,000+
评分
3.3 / 5
累计下载
3.9 万
最近更新
2020年11月3日
14 条评价需要 WordPress 5.0+已测试到 5.5.25

贡献者

截图

Select date and time in post
Select date and time in post
Add personal prefix for any post
Add personal prefix for any post
Default settings
Default settings

A simple plugin that allows to set the date for the posts, after which will be performed one of 3 actions: “Add prefix to title”, “Move to drafts”, “Move to trash”.

Features:

  • Set post expire date and time
  • Support custom post type (post and pages by default)
  • Action for expired posts: move to drafts, move to trash or add custom prefix for title
  • Adds class “post-expired” to post that expired on the site and in admin interface (for custom styles in theme)

Use in theme:

XNPostExpires::isExpired($post_id)

XNPostExpires::dateExpiration($post_id, $date_format)

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums