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.
There are no reviews for this plugin.