外掛說明
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
安裝方式
Here’s how to make the plugin work for your publications.
- Download and activate the plugin through the Plugins menu in WordPress admin.
使用者評論
這個外掛目前沒有任何使用者評論。