[WordPress] 外掛分享: Expiring Posts

首頁外掛目錄 › Expiring Posts
1,000+
安裝啟用
★★★☆☆
3.5/5 分(2 則評價)
1515 天前
最後更新
問題解決
WordPress 3.0.1+ PHP 5.3+ v1.3 上架:2019-03-20

內容簡介

該外掛可在指定日期後設置文章過期並失效。

該外掛目前僅適用於傳統編輯器。

它通過在發布方塊中添加一個新的“失效日期”字段來實現此功能。

默認情況下,文章不會失效,但您可以添加一個日期。

一旦到達該日期,該文章將被標記為失效,並且對最終用戶不再可見。

開發者注意事項

開發過程發生在 https://github.com/ivankruchkoff/wp-expiring-posts 上
新的文章狀態為expired
存在一個稱為exp_disable_expiration_for_this_post的過濾器,可在每篇文章中禁用此功能。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.3) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Expiring Posts」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

This plugin adds functionality to expire a post on a given date.
This plugin currently only works with the classical editor.
It does this by adding a new “Expires” date field in the Publish box.
By default posts don’t expire, but you can add a date instead.
Once that date is reached, the post is marked as expired and is no longer visible to the end user.
Dev Notes

Dev occurs via https://github.com/ivankruchkoff/wp-expiring-posts
the new post status is expired
a filter called exp_disable_expiration_for_this_post exists to disable this feature on a per-post basis.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon