[WordPress] 外掛分享: Display This When…

首頁外掛目錄 › Display This When…
10+
安裝啟用
★★★★★
5/5 分(1 則評價)
5295 天前
最後更新
問題解決
WordPress 3.0+ v1.0.1 上架:2011-09-18

內容簡介

有沒有曾經想在特定日期顯示某一部分內容,但不想將整篇文章或頁面進行修改?「Display This When...」外掛可以讓你封鎖內容的某一部分,只在設定的日期顯示該部分內容。

例如,如果你想在文章中加入愚人節玩笑,只需要進行以下操作:

[displaythis when=”01-04″ format=”d-m”]Chinchillas know how to use dynamite![/displaythis]

這樣,愚人節當天 Chinchillas 將使用炸藥。

預設的日期格式為「d-m-Y」(01-01-2011)。

外掛標籤

開發者團隊

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

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

原文外掛簡介

Ever wanted to show a particular section of cotent on a certain date but don’t want to do it to the whole post or page? “Display This When…” will allow you to block of a section of your content to only show on a set date.
Say if you want enter in an April Fools Day joke into your post, all you need do is this:
[displaythis when=”01-04″ format=”d-m”]Chinchillas know how to use dynamite![/displaythis]
And thus chinchillas will use dynamite on the 1st of April.
Default format type is “d-m-Y” (01-01-2011)

延伸相關外掛

文章
Filter
Apply Filters
Mastodon