WallpaperChanger
v1.0taniafi786 · 2016年5月18日 上架
A small WordPress plugin allows you to automatically change the wallpaper(morning,evening) according to server daytime.
- 正在使用
- 10+
- 评分
- 暂无
- 累计下载
- 2,483
- 最近更新
- 2016年5月18日
需要 WordPress 3.2+已测试到 4.5.33
贡献者
截图
A small WordPress plugin allows you to automatically change the wallpaper(morning,evening) according to server daytime.
-
get server time by using
$Hour = date(‘G’); -
for morning image/wallpaper : $Hour >= 5 && $Hour <= 18
- for evening image/wallpaper : $Hour >= 19 || $Hour <= 4
**You can change the hour value and images

