[WordPress] 外掛分享: Scheduled Content

首頁外掛目錄 › Scheduled Content
WordPress 外掛 Scheduled Content 的封面圖片
60+
安裝啟用
★★★★★
5/5 分(6 則評價)
4357 天前
最後更新
問題解決
WordPress 3.5+ v2.1 上架:2012-12-22

內容簡介

安裝並啟用外掛後,您可以使用簡碼 [schedule]。您最多可以傳遞 4 個參數,以顯示內容的日期和時間,以及內容過期並從您的頁面或文章中消失的日期和時間。您必須至少傳遞一個來自預定或過期的參數。

範例 -

[schedule on=’2014-12-01′ at=”10:01″ expon=’2014-12-01′ expat=”13:15″]
您要在此隱藏的內容
[/schedule]

4 個參數是「on」、「at」、「expon」和「expat」。
「on」接受日期,直到到達該日期,內容將被隱藏。
「at」接受時間。時間必須以 24 小時制設置(如果只傳遞時間,日期應為 yy-mm-dd)。
「expon」接受日期,內容將在此日期從頁面上消失。
「expat」接受時間。時間必須以 24 小時制設置(如果只傳遞時間,日期應為 yy-mm-dd)。

時間將與您的博客的時區設置進行比較,如果您將您的時區設置為本地時區,這將很容易。轉到您的 WordPress 儀表板的「常規」設置,在「時區」下,您可以設置所需的時區。

簡碼也可以在此簡碼中運行!!

外掛標籤

開發者團隊

⬇ 下載最新版 (v2.1) 或搜尋安裝

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

原文外掛簡介

After installing and activating the plugin you can use the shortcode [schedule]. You can pass upto 4 parameters, the date and the time to show the content and the date and time the content will expired and disappear from your page or post. You have to pass at least one parameter from the scheduled or expired.
Sample –
[schedule on=’2014-12-01′ at=”10:01″ expon=’2014-12-01′ expat=”13:15″]
the content you want to hide here
[/schedule]
The 4 parameters are “on”, “at”, “expon” and “expat”.
“on” accepts a date, until that date is arrived the content will be hidden.
“at” accepts a time. Time has to be set in 24hrs format. (date should be yy-mm-dd if you only pass time)
“expon” accepts a date, the content will disappear from the page on this date.
“expat” accepts a time. Time has to be set in 24hrs format. (date should be yy-mm-dd if you only pass time)
The time is compared with your blog’s time zone settings, if you set your time zone to local time zone it would be easy for you. Go to “General” settings of your wordpress dashboard, under “Time Zone” you can set the time zone you prefer.
Shortcodes will also run inside this shortcode!!

延伸相關外掛

文章
Filter
Apply Filters
Mastodon