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

WP Post Expires

描述

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)

螢幕截圖

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

安裝

  1. Copy to plugins folder (/wp-content/plugins)

  2. Activate plugin from plugins page in admin interface

  3. Use the Settings->Reading Name screen to configure the plugin

評價

2021年3月8日 2 replies
Update 3/8/21. Not working with 5.6.2. Several issues from earlier support tickets seem to still be unresolved. The time-picker isn't appearing under the calendar picker. Custom Post Types aren't being expired. I notice that support tickets going back one year haven't been answered. Is this plugin being supported?
2019年3月29日
guys, it is working completely fine. I personally tested on 5.1.1 wordpress. read the installation instruction. Thanks team.
2018年8月23日
Upon first installation, the date picker doesn't work when trying to set the expiry date. Well, that basically renders this plugin useless. Great idea, but needs to work properly first.
2018年7月19日
>>This plugin turns posts to a blank page when set a date to expire. same with me. Any ideas?
閱讀全部14個評價

貢獻者及開發者

“WP Post Expires” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

WP Post Expires 外掛目前已有 4 個本地化語言版本。 感謝所有譯者為這個外掛做出的貢獻。

將 WP Post Expires 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

1.2.5

fix bug loop expire. Tnx @d79 (https://github.com/d79)
versiob wp 5.5.3

1.2.4

fix bugs classic editor/gutenberg js, tnx @micahjsharp

1.2.3

add status in post state
change logic for draft and trash, tnx @micahjsharp
use local wp timezone

1.2.2

support classic editor on wp 5.0+

1.2.1

Small fixes:
https://wordpress.org/support/topic/fatal-error-3074/ ( tnx @marknopfler )
https://wordpress.org/support/topic/fix-js-and-php-error/ ( tnx @lastant )

1.2

use DateTime Picker jQuery-ui
refactoring

1.1

conflicts resolved
fix datetime picker
update datetime picker

1.0.3

small fixes
add Italian translation (tnx, Paolo Centomani)

1.0.2

fix notice and accessing static property

1.0.1

fixed translation

1.0

init1 – Mr. Robot