[WordPress] 外掛分享: DeMomentSomTres Night and Day

首頁外掛目錄 › DeMomentSomTres Night and Day
WordPress 外掛 DeMomentSomTres Night and Day 的封面圖片
全新外掛
安裝啟用
尚無評分
478 天前
最後更新
問題解決
WordPress 3.5+ v1.0.1 上架:2013-03-23

內容簡介

DeMomentSomTres 的一位客戶要求我們根據時間顯示他們建築物的照片於其網站中的 網頁。

我們開發了此簡碼,以協助完成此任務。

您只需使用 [dms3nad start=”hh:mm” end=”hh:mm”]要顯示的內容[/dms3nad]。

例如,若要從午夜到早上 7 點顯示「夜晚」,其餘時間顯示「白天」,則代碼應如下:

[dms3nad start="00:00" end="07:00"]Night[/dms3nad] [dms3nad start="07:00" end="23:59"]Day[/dms3nad]

注意:時間基於伺服器時間。

外掛標籤

開發者團隊

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

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

原文外掛簡介

A customer of DeMomentSomTres required us to show a picture of its building depending of the moment of the day in its web.
We build that shortcode that helps on doing this task.
You only have to use [dms3nad start=”hh:mm” end=”hh:mm”]Content to show[/dms3nad].
For instance to show the sentence “night” from midnight until 7:00 and “day” the rest of the day, the code should look like:
[dms3nad start="00:00" end="07:00"]Night[/dms3nad]
[dms3nad start="07:00" end="23:59"]Day[/dms3nad]

Note: times are based on server time

延伸相關外掛

文章
Filter
Apply Filters
Mastodon