Title: Air Quality Plugin
Author: patrol220
Published: <strong>2018 年 3 月 26 日</strong>
Last modified: 2018 年 4 月 12 日

---

搜索插件

![](https://ps.w.org/air-quality/assets/banner-772x250.png?rev=1847634)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/air-quality/assets/icon-256x256.png?rev=1847687)

# Air Quality Plugin

 作者：[patrol220](https://profiles.wordpress.org/patrol220/)

[下载](https://downloads.wordpress.org/plugin/air-quality.zip)

 * [详情](https://cn.wordpress.org/plugins/air-quality/#description)
 * [评价](https://cn.wordpress.org/plugins/air-quality/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/air-quality/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/air-quality/#developers)

 [支持](https://wordpress.org/support/plugin/air-quality/)

## 描述

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. After giving Google Maps Api key 
you will get new input field where you can specify your localization. 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.

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

Plugin additionaly displays some info about weather from detector if there is any
given. You can disable it from administrator options.

## 屏幕截图

 * [[
 * screenshot-1.png
 * [[
 * screenshot-2.png
 * [[
 * screenshot-3.png
 * [[
 * screenshot-4.png
 * [[
 * screenshot-7.png
 * [[
 * screenshot-8.png
 * [[
 * screenshot-5.png
 * [[
 * screenshot-6.png

## 安装

 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. Activate the plugin through the ‘Plugins’ screen in WordPress
 3. Put Air Quality Widget where you want it to be
 4. Use the Settings->AQP Settings screen to configure the plugin

## 常见问题

  Installation Instructions

 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. Activate the plugin through the ‘Plugins’ screen in WordPress
 3. Put Air Quality Widget where you want it to be
 4. Use the Settings->AQP Settings screen to configure the plugin

## 评价

此插件暂无评价。

## 贡献者及开发者

「Air Quality Plugin」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ patrol220 ](https://profiles.wordpress.org/patrol220/)

「Air Quality Plugin」插件已被翻译至 1 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/air-quality/contributors)
为本插件所做的贡献。

[帮助将「Air Quality Plugin」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/air-quality)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/air-quality/)，查看[SVN仓库](https://plugins.svn.wordpress.org/air-quality/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/air-quality/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/air-quality/)。

## 更新日志

#### 0.40

 * Added information in plugin settings about errors
 * Added AJAX method for users to set localization

#### 0.31

 * Fixed mistake with checking options data

#### 0.3

 * Added field in settings for providing waqi.info API key
 * Some improvements in ux

#### 0.2

 * API connection error message
 * Upgrade in translation

#### 0.11

 * Upgrades in responsivity
 * Prepared for translating

#### 0.1

 * First version of plugin

## 额外信息

 *  版本 **0.40**
 *  最后更新：**8 年前**
 *  活跃安装数量 **30+**
 *  WordPress 版本 ** 4.7 或更高版本 **
 *  已测试的最高版本为 **4.9.29**
 *  PHP 版本 ** 5.5 或更高版本 **
 *  语言
 * [Dutch](https://nl.wordpress.org/plugins/air-quality/) 和 [English (US)](https://wordpress.org/plugins/air-quality/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/air-quality)
 * 标签
 * [health](https://cn.wordpress.org/plugins/tags/health/)[monitor](https://cn.wordpress.org/plugins/tags/monitor/)
   [pollution](https://cn.wordpress.org/plugins/tags/pollution/)[weather](https://cn.wordpress.org/plugins/tags/weather/)
   [widget](https://cn.wordpress.org/plugins/tags/widget/)
 *  [高级视图](https://cn.wordpress.org/plugins/air-quality/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/air-quality/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/air-quality/reviews/)

## 贡献者

 *   [ patrol220 ](https://profiles.wordpress.org/patrol220/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/air-quality/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](http://paypal.me/patrol220)