WallpaperChanger

By taniafi786

10+ active installationsVersion 1.0

A small WordPress plugin allows you to automatically change the wallpaper(morning,evening) according to server daytime.

Description

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

Installation

Here’s how to make the plugin work for your publications.

  1. Download and activate the plugin through the Plugins menu in WordPress admin.

Screenshots