Title: MKD Air Quality
Author: Darko G.
Published: <strong>February 25, 2020</strong>
Last modified: June 26, 2022

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

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

# MKD Air Quality

 By [Darko G.](https://profiles.wordpress.org/darkog/)

[Download](https://downloads.wordpress.org/plugin/wp-mkd-air-quality.1.1.2.zip)

 * [Details](https://wordpress.org/plugins/wp-mkd-air-quality/#description)
 * [Reviews](https://wordpress.org/plugins/wp-mkd-air-quality/#reviews)
 *  [Installation](https://wordpress.org/plugins/wp-mkd-air-quality/#installation)
 * [Development](https://wordpress.org/plugins/wp-mkd-air-quality/#developers)

 [Support](https://wordpress.org/support/plugin/wp-mkd-air-quality/)

## Description

The Air Quality data is provided by the Ministry of environment and physical planning
of R. Macedonia and will only work for the country.

The data is measured by physical stations across the country and is provided via
RESTful service. More information can be found on the AIR Quality portal:

 * [Governemnt Air Quality Portal](http://air.moepp.gov.mk/?page_id=1351&lang=en)

The data is cached for 30 minutes by the plugin and it’s refreshed hourly.

Friendly Note: The plugin is country specific and will not work with any other countries.

### Examples

Just a few examples out of a lot combinations 🙂

### Line Chart

Defaults: (`stations_selector=1`, `station=Centar`, `timemode=Week`, `date=today`,`
unit=PM10`, `xlabels=0`)

 * PM10 data for today, show the time labels on the X axis. Default station is Centar.
   [
   mkdaiq_chart timemode=’Day’ xlabels=1]
 * PM10 data for the last 7 days, hide the time labels on the X axis. Default station
   is Rektorat
    [mkdaiq_chart station=’Rektorat’ unit=’PM10′ timemode=’Week’]
 * Show Carbon monoxide levels from Kicevo for the past 7 days. Hide the other stations
   dropdown
    [mkdaiq_chart station=’Kicevo’ stations_selector=0 unit=’CO’ timemode
   =’Week’]
 * PM10 from Bitola1 on the 2020 New Year’s day. show the time labels on the X axis.
   [
   mkdaiq_chart station=’Bitola1′ unit=’PM10′ timemode=’Day’ date=’2020-01-01′ xlabels
   =1]

### MAP

Defaults: (`date=today`, `unit=PM10`, `zoom=8`, `units_selector=1`)

 * Draw PM10 map for today, hide the units selector.
    [mkdaiq_map date=’today’ units_selector
   =0 unit=’PM10′]
 * Draw PM10 map with zoom 8 for 2020 New Year’s day and show units field.
    [mkdaiq_map
   date=’2020-01-01′ zoom=8]

### RANK

Defaults: (`date=today`, `unit=PM10`, `type=last`, `order=1`)

 * Draw PM10 rank table for today based on the last known result ordered by most
   polluted
    [mkdaiq_rank date=’today’ timemode=’Day’ type=’last’ order=’1′]
 * Draw PM10 rank table for the last 7 days based on the average result ordered 
   by most polluted
    [mkdaiq_rank date=’today’ timemode=’Week’ type=’average’ order
   =’1′]

### Credits

Icons by flaticon

## Screenshots

[⌊Line Chart (Multiple)⌉⌊Line Chart (Multiple)⌉[

Line Chart (Multiple)

[⌊Line Chart (Single)⌉⌊Line Chart (Single)⌉[

Line Chart (Single)

[⌊Map (OSM)⌉⌊Map (OSM)⌉[

Map (OSM)

[⌊Rank Table⌉⌊Rank Table⌉[

Rank Table

[⌊Settings⌉⌊Settings⌉[

Settings

## Installation

 1. Upload `wp-mkd-air-quality` to the `/wp-content/plugins/`
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

## FAQ

### How to contribute?

To contribute please submit pull request or issue on the [Github repository](https://github.com/gdarko/wp-mkd-air-quality).

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“MKD Air Quality” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Darko G. ](https://profiles.wordpress.org/darkog/)

[Translate “MKD Air Quality” into your language.](https://translate.wordpress.org/projects/wp-plugins/wp-mkd-air-quality)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/wp-mkd-air-quality/),
check out the [SVN repository](https://plugins.svn.wordpress.org/wp-mkd-air-quality/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/wp-mkd-air-quality/)
by [RSS](https://plugins.trac.wordpress.org/log/wp-mkd-air-quality/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.1.2

 * Updated readme
 * Fix compatibility with PHP8
 * Fix Javascript errors in admin UI

#### 1.0.1

 * Fix loading chart when the map shortcode is above the chart.

#### 1.0.0

 * Initial Version

## Meta

 *  Version **1.1.2**
 *  Last updated **4 years ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 4.5.0 or higher **
 *  Tested up to **6.0.17**
 *  PHP version ** 5.4 or higher **
 * Tag
 * [macedonia](https://wordpress.org/plugins/tags/macedonia/)
 *  [Advanced View](https://wordpress.org/plugins/wp-mkd-air-quality/advanced/)

## Ratings

No reviews have been submitted yet.

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

[See all reviews](https://wordpress.org/support/plugin/wp-mkd-air-quality/reviews/)

## Contributors

 *   [ Darko G. ](https://profiles.wordpress.org/darkog/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/wp-mkd-air-quality/)