[wordpress插件] Current weather widget当前天气小部件

wordpress 插件 文章 2020-04-07 01:10 468 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

A simple sidebar widget that displays the current weather for a user-defined city.

一个简单的侧边栏小部件,用于显示用户定义的城市的当前天气。

Powered by the [http://openweathermap.org/API](OpenWeatherMap API).

由[http://openweathermap.org/API](OpenWeatherMap API)提供支持。

The design has been deliberately kept simple.

故意使设计保持简单。

It should match the default text of any theme, but can easily be customized by any web developer.

它应该与任何主题的默认文本匹配,但可以由任何Web开发人员轻松定制。

It was built and tested on 3.5.x, but will probably work on earlier versions of WordPress.

它是在3.5.x上构建和测试的,但可能会在WordPress的早期版本上工作。

安装步骤

    1. Download the zip file and extract the contents.
    2. 下载zip文件并提取内容。

    3. Upload the current-weather-widget to the /wp-content/plugins/ directory.
    4. current-weather-widget 上载到 / wp-content / plugins / 目录。

    5. Log into WordPress, navigate to the ‘Plugins’ page and active the plugin.
    6. 登录WordPress,导航到“插件”页面并激活插件。

    7. Navigate to ‘Appearance’ > ‘Widgets’ and drag the widget to the sidebar.
    8. 导航到“外观”>“小部件”,然后将小部件拖到侧边栏。

    9. Set the city, country and units from the widget’s setting menu.
    10. 从小部件的设置菜单中设置城市,国家和单位。

下载地址
https://downloads.wordpress.org/plugin/current-weather-widget.0.0.1.zip
-EOF-

AI助手支持GPT4.0