[wordpress插件] Air Quality Plugin空气质量插件

wordpress 插件 文章 2020-02-12 19:20 599 0 全屏看文

AI助手支持GPT4.0

评分

0

0

描述

Air Quality Plugin shows air quality data from closest detector of localization which you will give in settings of plugin.

空气质量插件显示来自最接近的本地化检测器的空气质量数据,您将在插件设置中提供该数据。

In plugin settings localization must be provided to determine which detector will be chosen.

在插件设置中,必须提供本地化以确定将选择哪个检测器。

You can set Google Maps API key in settings to make that thing easier.

您可以在设置中设置Google Maps API密钥,以简化操作。

After giving Google Maps Api key you will get new input field where you can specify your localization.

提供Google Maps Api密钥后,您将获得新的输入字段,您可以在其中指定本地化。

It can be name of the city, but in your city there can be multiple air quality detectors so for more accurate results you should put name of the street.

它可以是城市的名称,但是在您的城市中可以有多个空气质量检测器,因此,要获得更准确的结果,您应该输入街道名称。

Plugin is using waqi.info JSON API to get data about air quality.

插件正在使用waqi.info JSON API来获取有关空气质量的数据。

In settings administrator have option to let every user to set localization from Settings -> AQP Settings what they want.

在设置管理员中,可以选择让每个用户从“设置”->“ AQP设置”中设置所需的本地化。

Plugin additionaly displays some info about weather from detector if there is any given.

插件额外显示一些有关探测器天气的信息(如果有的话)。

You can disable it from administrator options.

您可以通过管理员选项禁用它。

安装步骤

    1. Upload the plugin files to the /wp-content/plugins/air-quality-plugin directory, or install the plugin through the WordPress plugins screen directly.
    2. 将插件文件上传到 / wp-content / plugins / air-quality-plugin 目录,或直接通过WordPress插件屏幕安装插件。

    3. Activate the plugin through the ‘Plugins’ screen in WordPress
    4. 通过WordPress中的“插件”屏幕激活插件

    5. Put Air Quality Widget where you want it to be
    6. 将空气质量小部件放置在您希望的位置

    7. Use the Settings->AQP Settings screen to configure the plugin
    8. 使用“设置”->“ AQP设置”屏幕来配置插件

下载地址

https://downloads.wordpress.org/plugin/air-quality.zip

https://downloads.wordpress.org/plugin/air-quality.zip

-EOF-

AI助手支持GPT4.0