[WordPress] 外掛分享: LH CSS Dates and Times

首頁外掛目錄 › LH CSS Dates and Times
WordPress 外掛 LH CSS Dates and Times 的封面圖片
全新外掛
安裝啟用
尚無評分
1323 天前
最後更新
問題解決
WordPress 5.0+ PHP 5.5+ v1.11 上架:2017-10-22

內容簡介

LH CSS Dates and Times 外掛會動態地在 HTML body 元素上加上日期和時間類別,使你能夠根據日期或時間自定義網站的設計。外掛透過 JavaScript 確保適合所有訪客。

動態的 body 類別包括:

日期
小時
上午(AM)或下午(PM)
時間 e.g. 夜晚、早上、下午或晚上
星期幾
月中的日期
月份
一年中的日期
年份

請參閱常見問題解答以瞭解選擇器的詳細說明。

喜歡這個外掛嗎?請考慮留下 5 星評價。

喜歡這個外掛或想幫助 LocalHero Project 嗎?請考慮捐贈。

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「LH CSS Dates and Times」→ 直接安裝(推薦)

原文外掛簡介

LH CSS Dates and Times dynamically adds dynamic Date & Time classes to your HTML body element. This enables you to So you customise the design of your website based on the date or time.
It does it the only foolproof way for your visitors, ie via javascript.
Dynamic body Classes Include

Date
Hour
AM or PM
time of day e.g. night, morning, afternoon, or evening
Day of the Week
Day of the Month
Month
Day of the Year
Year

See the FAQ for a full explanation of the selectors
Like this plugin? Please consider leaving a 5-star review.
Love this plugin or want to help the LocalHero Project? Please consider making a donation.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon