[WordPress] 外掛分享: Event Shortcode

首頁外掛目錄 › Event Shortcode
全新外掛
安裝啟用
尚無評分
5378 天前
最後更新
問題解決
WordPress 3.0+ v1.0b 上架:2011-07-22

內容簡介

Event Shortcode 可讓您輕鬆將時效性內容放入文章或頁面中,當它過期時會自動刪除。這可能是即將到來的活動、資訊或連結,因為它們失去新鮮度。在每篇文章中放置這個短碼,直到活動日期。內容將在您設定的日期和時間過期。之後,內容將被您指定的任何文字替換,或者可以留空。此外掛提供了一個簡單的解決方案,適用於不需要完整的活動管理系統的網站。

功能包括:
* 安裝容易
* 簡單介面
* 設定一次,就不用管它了

使用方法

[expired date=”7/20/11″ time=”12:00pm” message=”派對結束了。希望您來了!”]在 7/20/11 12:00pm (PDT) 時
我們將舉行非常酷的派對活動。[/expired]

如下所示:
在 7/20 12:00pm 前,它將呈現:
在 7/20/11 12:00pm (PDT) 時,我們將有一個活動。

在 7/20 12:00pm 後,它將呈現:
派對結束了。希望您來了!

參數:

date => 內容過期的日期,格式為 mm/dd/yy 或 dd/mm/yyyy
time => 內容過期的時間。可以用 12 或 24 小時制表示。
message => 替換原始內容的內容。這可以留空。
[expired]原始內容在此[/expired]

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Event Shortcode」→ 直接安裝(推薦)

原文外掛簡介

Event Shortcode allows you to easily place time sensitive content into a post or page, which is automatically removed when it expires. This could be an upcoming event, information or a link to a news item that will not hold its freshness. Place this shortcode in each post up to the date of the event. The content will expire on the date and time you set. After that, the content is replaced by whatever text you specify or it can be left blank. This plugin offers a simple solution for sites where a full on event management system would be overkill.
Features include:
* Easy installation
* Simple interface
* Set it and forget it
Usage
[expired date=”7/20/11″ time=”12:00pm” message=”The party is over. Hope you were there!”]On 7/20/11 at 12:00pm (PDT)
we will have really cool party event.[/expired]
Will show in post untill 7/20 at 12 noon as:
On 7/20/11 at 12:00pm (PDT) we will have an event.
After 7/20 at 12 noon, it will show:
The party is over. Hope you were there!
Parameters:
date => the date the content will expire in the format mm/dd/yy or dd/mm/yyyy
time => the time the content will expire. Can be espressed in 12 or 24 hour format.
message => the content that will replace the original content. This can be left blank.
[expired]original content goes here[/expired]

延伸相關外掛

文章
Filter
Apply Filters
Mastodon