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

Content Expiration

描述

Content Expiration is a WordPress plugin that allows authors/editors to set an expiration date on posts or pages. The plugin is intended to be simple with easy-to-read code.

An expiration can be set by specifying a number of days (e.g., expire in 90 days) or a specific date/time (e.g., May 10, 2018 at 10:00 PM). Two weeks prior to the expiration date, the author of the post/page is sent a warning email. The author receives another notification email upon expiration.

When a post/page expires, it is not deleted. Instead, it is given a status of Expired and hidden from public view. Visitors to the site will receive the regular WordPress 404 Page Not Found error.

The expiration can be reset by any editor or administrator of the site. They must log in and edit the expiration settings of the post/page.

Content Expiration is developed on GitHub. Please submit bugs reports and contributions on the GitHub Project page.

For general support and questions, please use the WordPress support forum.

屏幕截图

  • Setting a new expiration on a post or page.
  • Editing an existing expiration date.
  • The All Pages listing with the Expiration column.
  • The All Pages listing with a page that has expired. Remember to click the Expired link to view expired content (see the FAQ).
  • The email notifying the author that their post will expire.

安装

Install the plugin as you do normally. Once activated, you will have a widget to set an expiration date when creating or editing a post/page. Additionally, there will be a new column, Expiration, when viewing all posts/pages in the admin dashboard.

常见问题

The timezone seem to be wrong!

This is a known issue. The plugin is currently hardcoded to the America/New_York timezone. This will be fixed in the next release.

Can I set an expiration on custom post types?

Not yet.

The page has expired but it’s still visible to the public!

Expirations are processed hourly. Wait a bit, then check again.

Expired posts aren’t listed on the All Pages screens!

Expired content is not included in the All listings. This is a (seven year old) bug in WordPress. Click the Expired (x) link to view the expired content.

What’s this MIT license?

Content Expiration is released under the MIT license. The MIT license is short, simple, and very permissive. Basically, you can do whatever you want, provided the original copyright and license notice are included in any/all copies of the software. You may modify, distribute, sell, incorporate into proprietary software, use privately, and use commerically.

There is no warranty and the author or any contributors are not liable if something goes wrong.

See the LICENSE file for full details.

评价

此插件暂无评价。

贡献者及开发者

“Content Expiration” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Content Expiration”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0.1

  • Compatibility with WordPress 5.0.
  • Minor documentation updates.

1.0

  • Initial release.