這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

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 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

使用者評論

2021 年 11 月 27 日
It works as what the developer said.
2018 年 7 月 26 日
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.
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 !!!
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 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Simple Post Expiration〉的開發相關工作。

參與者

將〈Simple Post Expiration〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0.1

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

1.0

  • First release!