跳到内容

LH CSS Dates and Times

v1.11

shawfactor · 2017年10月23日 上架

CSS Date Time

正在使用
10 以下
评分
暂无
累计下载
1,911
最近更新
2022年8月4日
需要 WordPress 5.0+已测试到 6.0.19PHP 5.5+

贡献者

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.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums