這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 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.