[wordpress插件] WallpaperChangerWallpaperChanger

wordpress 插件 文章 2020-02-25 18:20 538 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

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

一个小的WordPress插件可让您根据服务器白天自动更改墙纸(早晨,晚上)。

    • get server time by using

      使用
      获取服务器时间

      $Hour = date(‘G’);

      $ Hour = date(‘G’);

    • for morning image/wallpaper : $Hour >= 5 && $Hour <= 18

      早上的图像/墙纸:$ Hour> = 5 && $ Hour <= 18

    • for evening image/wallpaper : $Hour >= 19 ||

    • 对于夜间图像/墙纸:$ Hour> = 19 ||

      $Hour <= 4

    • $小时<= 4

    **You can change the hour value and images

    **您可以更改小时值和图像

安装步骤

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

如何使插件适用于您的出版物。

    1. Download and activate the plugin through the Plugins menu in WordPress admin.
    2. 通过WordPress管理员中的“插件”菜单下载并激活插件。

下载地址
https://downloads.wordpress.org/plugin/automatically-wallpaper-changer.zip
-EOF-

AI助手支持GPT4.0