Title: Corona Virus Data
Author: Duke Yin
Published: <strong>Gashyantare 21, 2020</strong>
Last modified: Gicurasi 22, 2024

---

Search plugins

![](https://ps.w.org/corona-virus-data/assets/banner-772x250.png?rev=2265885)

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/corona-virus-data/assets/icon-256x256.png?rev=2248214)

# Corona Virus Data

 By [Duke Yin](https://profiles.wordpress.org/freeduke/)

[Download](https://downloads.wordpress.org/plugin/corona-virus-data.zip)

 * [Details](https://kin.wordpress.org/plugins/corona-virus-data/#description)
 * [Reviews](https://kin.wordpress.org/plugins/corona-virus-data/#reviews)
 *  [Installation](https://kin.wordpress.org/plugins/corona-virus-data/#installation)
 * [Development](https://kin.wordpress.org/plugins/corona-virus-data/#developers)

 [Support](https://wordpress.org/support/plugin/corona-virus-data/)

## Description

This plugin displays the Coronavirus case data of the whole world and country you
care through shortcodes `[cov2019]` `[cov2019all]` or `[cov2019map]` in your WordPress
post or page.

You can see how many patient(s) are confirmed, dead or recovered, in the world, 
and the country or region you select.

This plugin is free to use.

Praying for those affected by the coronavirus and those who are worried. May everyone
in this world be healthy.

### Shortcode

 * `[cov2019]` Showing global COVID data.
 * `[cov2019contry]` Showing COVID data of the country or region you select.
 * `[cov2019all]` Showing data of all countries in a table.
 * `[cov2019map]` Showing a map with data of each country.
 * `[cov2019history]` A line chart showing global historical daily data.
 * `[cov2019historyc]` A line chart showing historical daily data of the country
   you select.
 * `[cov2019namerica]` Data of North America.
 * `[cov2019samerica]` Data of South America.
 * `[cov2019europe]` Data of Europe.
 * `[cov2019asia]` Data of Asia.
 * `[cov2019oceania]` Data of Oceania.
 * `[cov2019africa]` Data of Africa.

### Current API information

NovelCOVID/API

API website: https://github.com/NovelCOVID/API

License: https://github.com/NovelCOVID/API/blob/master/LICENSE

Endpoint: https://disease.sh/

Privacy policy: https://github.com/NovelCOVID/API/blob/master/privacy.md

Please read the Privacy Policy of this API before you download and install this 
plugin in your website.

### Third party services

Mapbox: https://www.mapbox.com/
 * Mapbox Term of ues: https://www.mapbox.com/legal/
tos/ * Mapbox Privacy policy: https://www.mapbox.com/legal/privacy/

## Screenshots

 * [[
 * The data shows in front-end.
 * [[
 * Show all data of countries in a table.
 * [[
 * A map show statistics of the world.
 * [[
 * Line chart showing global daily data.
 * [[
 * The option page let you choose which country to focus on.

## Installation

This section describes how to install the plugin and get it working.

 1. Upload this plugin(unziped) to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Place shortcodes in your post or page anywhere you want to show latest coronavirus
    data.

## FAQ

### What’s been shared between API and me?

This plugin only download Coronavirus counts data from API to visitor’s web browser
as json file, no uploads, no server information nor visitor information will be 
shared to anywhere, anyone.

### Any admin page?

Yes, go to Settings -> Corona Virus Data, there you can choose a Country or Region
to focus on, it will show up in front-end.

### How to use this plugin?

Activate this plugin, write the shortcode `[cov2019]` or `[cov2019all]` to any page
or post, publish it, charts will show up, that’s it.

### Networking problem with getting data?

The data source of this plugin came from an api, pretty fast as I test, but shit
happens, if you can’t get any data, try to relax and reload your page a while later.

## Reviews

![](https://secure.gravatar.com/avatar/1c16543406b17001696b45d1659d9f985b78b8063f9ba041dc3ce35d2f2f40e5?
s=60&d=retro&r=g)

### 󠀁[It’s not working](https://wordpress.org/support/topic/its-not-working-130/)󠁿

 [Sergey](https://profiles.wordpress.org/sergeyadm/) Werurwe 30, 2021 3 replies

Uncaught ReferenceError: cov__contry is not defined No Russia, no China, no any 
other

![](https://secure.gravatar.com/avatar/4e07a989ef6cb9a267fcbea38ebf991e4f32882555b2271ba64c674a61fbb53a?
s=60&d=retro&r=g)

### 󠀁[support is best, and listen to problems](https://wordpress.org/support/topic/support-is-best-and-listen-to-problems/)󠁿

 [rizwan92786](https://profiles.wordpress.org/rizwan92786/) Gicurasi 1, 2020

support is best, and listen to problems

![](https://secure.gravatar.com/avatar/bf63640972810868c7da80e33f4928c3e4ad6bdc2435b14204f1a6daceeb8d6a?
s=60&d=retro&r=g)

### 󠀁[Good Plugin](https://wordpress.org/support/topic/good-plugin-4240/)󠁿

 [jamejo](https://profiles.wordpress.org/jamejo/) Gicurasi 1, 2020 3 replies

Good Plugin, works well and nice color usage on statistics. Only problem I see is
the numbers/values and country names do not show up in the page source (impacts 
search engine and other bots that might want to read data from our site)

![](https://secure.gravatar.com/avatar/022d141e5d860745fd23ada84643a879587cb44d01ef5755ca71008866136b92?
s=60&d=retro&r=g)

### 󠀁[amazing plugin and very creative autor](https://wordpress.org/support/topic/amazing-plugin-and-very-creative-autor/)󠁿

 [mehdi ghazavi](https://profiles.wordpress.org/smghazavi/) Mata 18, 2020

thanks for this amazing plugin i realy loved it

![](https://secure.gravatar.com/avatar/0faf6cbd8df4ec36fddf93ff4b57af79df0afc6f9460e39f039796fd71431ff3?
s=60&d=retro&r=g)

### 󠀁[Nice plugin](https://wordpress.org/support/topic/nice-plugin-3601/)󠁿

 [Jakub](https://profiles.wordpress.org/jakubgrac/) Mata 18, 2020

Great plugin and easy to customzie for my purpose, thank you

![](https://secure.gravatar.com/avatar/4c6429ede828a2cbf0cd77668edcddd4ec3fbc947bf3b1918584422a746b1fb5?
s=60&d=retro&r=g)

### 󠀁[Working very well!](https://wordpress.org/support/topic/working-very-well-26/)󠁿

 [diEfoRyoU](https://profiles.wordpress.org/dieforyou/) Mata 12, 2020 1 reply

thank you for this plugin.

 [ Read all 13 reviews ](https://wordpress.org/support/plugin/corona-virus-data/reviews/)

## Contributors & Developers

“Corona Virus Data” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Duke Yin ](https://profiles.wordpress.org/freeduke/)

“Corona Virus Data” has been translated into 23 locales. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/corona-virus-data/contributors)
for their contributions.

[Translate “Corona Virus Data” into your language.](https://translate.wordpress.org/projects/wp-plugins/corona-virus-data)

### Interested in development?

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

## Changelog

#### 1.4.3

 * Bug fixes

#### 1.4.2

 * Remove the recovered data in charts, because it will always be 0.
 * Add shortcode `cov2019country` to show data of the country you select.

#### 1.4.1

 * Bug fixes
 * Change endpoint to latest one.

#### 1.4.0

 * Fixed a bug that variable statements goes wrong, thanks to @jsgang;

#### 1.3.9

 * Remove extra debug codes, housekeeping;

#### 1.3.8

 * Fix some issues on php 8, keep it work on php 7;
 * The data for continent Oceania was not shown, now this is fixed;
 * Optimize the map style, for confirmed data is growing;

#### 1.3.7

 * Tested up to 5.6;

#### 1.3.6

 * Load scripts and styles only when shortcode presents, improve performance;

#### 1.3.5

 * Upgrade the api from v2 to v3.
 * No matter how the data changes in the future, the continents data can be displayed
   correctly. Thanks to @jakubgrac
 * Add population data to each countries on map.

#### 1.3.4

 * Continents data was messed up, now we fixed that.

#### 1.3.3

 * Fixed an issue that JavaScript report errors when the API gives empty data filed.

#### 1.3.2

 * Add data of 6 continents with new shortcodes.
 * Mobile device experiences optimized.

#### 1.3.1

 * Upgrde the api from v1 to v2.

#### 1.3.0

 * Add 2 more shortcodes `[cov2019history]` and `[cov2019historyc]` to show historical
   daily data on line charts.

#### 1.2.9

 * Add more data types to “Global total”.
 * Add a setting link to plugin list.
 * Upgrde the api from v1 to v2.

#### 1.2.8

 * Fixed css conflict issue for some themes.

#### 1.2.7

 * Fixed a bug where Ivorian data could not be obtained.
 * Make the name of the country you follow translatable.

#### 1.2.6

 * Fixed a bug where Ivorian data could not be obtained.

#### 1.2.5

 * Add an API status indicator to the options page.
 * Add a checkbox to set whether to show the single country statistics in front-
   end or just global total numbers.
 * Add a text filed to get Mapbox public token for each installation on options 
   page. Mine is running out of requests.
 * Include all external files into plugin folders.
 * Add an “Active” number to Global Total statistics.
 * Rearranged the order of individual country data.

#### 1.2.4

 * Map style gets more beautiful.
 * Colors on map represents the severity of the virus outbreak.

#### 1.2.3

 * README.txt update.
 * A short code [cov2019map] to create a map showing data.
 * Numbers in table now colorized.

#### 1.2.2

 * Fixed a bug that prevent flags to be load.

#### 1.2.1

 * Add flags to countries in table and you focus.
 * Responsive design for html table.
 * Add colors for numbers in data.
 * The API gives a Unix timestamp so removed the ‘GTM’ text in title.
 * A better loading animated icon.

#### 1.2.0

 * README.txt update.
 * Switch API from COVID-19-API to github.com/NovelCOVID/API.
 * A map to help select a country in options page.
 * All available countries or regions are added to selector.
 * New short code [cov2019all] to show all latest data of countries in a table.
 * Data in table will sort by “Confirmed” numbers.

#### 1.1.2

 * README.txt update, spelling correction.
 * More countries added, now 33 countries in total.
 * Add a screenshot of options page.
 * Bug fix.

#### 1.1.1

 * Change the API from lab.isaaclin.cn to COVID-19-API.
 * Option page to select your region or country.
 * Add a loading icon.
 * Translation updated.

#### 1.1.0

 * Change the API from sina.cn to lab.isaaclin.cn.
 * JavaScript file optimized.

#### 1.0.0

 * A stable version.

## Meta

 *  Version **1.4.3**
 *  Last updated **2 years ago**
 *  Active installations **1,000+**
 *  WordPress version ** 3.0.1 or higher **
 *  Tested up to **6.6.5**
 *  PHP version ** 7.2 or higher **
 *  Languages
 * [Arabic](https://ar.wordpress.org/plugins/corona-virus-data/), [Chinese (China)](https://cn.wordpress.org/plugins/corona-virus-data/),
   [Chinese (Hong Kong)](https://zh-hk.wordpress.org/plugins/corona-virus-data/),
   [Chinese (Singapore)](https://zh-sg.wordpress.org/plugins/corona-virus-data/),
   [Chinese (Taiwan)](https://tw.wordpress.org/plugins/corona-virus-data/), [Czech](https://cs.wordpress.org/plugins/corona-virus-data/),
   [Dutch](https://nl.wordpress.org/plugins/corona-virus-data/), [English (US)](https://wordpress.org/plugins/corona-virus-data/),
   [French (France)](https://fr.wordpress.org/plugins/corona-virus-data/), [Italian](https://it.wordpress.org/plugins/corona-virus-data/),
   [Japanese](https://ja.wordpress.org/plugins/corona-virus-data/), [Norwegian (Bokmål)](https://nb.wordpress.org/plugins/corona-virus-data/),
   [Persian](https://fa.wordpress.org/plugins/corona-virus-data/), [Portuguese (Portugal)](https://pt.wordpress.org/plugins/corona-virus-data/),
   [Russian](https://ru.wordpress.org/plugins/corona-virus-data/), [Spanish (Colombia)](https://es-co.wordpress.org/plugins/corona-virus-data/),
   [Spanish (Ecuador)](https://es-ec.wordpress.org/plugins/corona-virus-data/), 
   [Spanish (Mexico)](https://es-mx.wordpress.org/plugins/corona-virus-data/), [Spanish (Spain)](https://es.wordpress.org/plugins/corona-virus-data/),
   [Spanish (Venezuela)](https://ve.wordpress.org/plugins/corona-virus-data/), [Swedish](https://sv.wordpress.org/plugins/corona-virus-data/),
   [Turkish](https://tr.wordpress.org/plugins/corona-virus-data/), [Ukrainian](https://uk.wordpress.org/plugins/corona-virus-data/),
   and [Vietnamese](https://vi.wordpress.org/plugins/corona-virus-data/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/corona-virus-data)
 * Tags
 * [Corona Virus](https://kin.wordpress.org/plugins/tags/corona-virus/)[coronavirus](https://kin.wordpress.org/plugins/tags/coronavirus/)
   [covid-19](https://kin.wordpress.org/plugins/tags/covid-19/)
 *  [Advanced View](https://kin.wordpress.org/plugins/corona-virus-data/advanced/)

## Ratings

 4.7 out of 5 stars.

 *  [  12 5-star reviews     ](https://wordpress.org/support/plugin/corona-virus-data/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/corona-virus-data/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/corona-virus-data/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/corona-virus-data/reviews/?filter=2)
 *  [  1 1-star review     ](https://wordpress.org/support/plugin/corona-virus-data/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/corona-virus-data/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/corona-virus-data/reviews/)

## Contributors

 *   [ Duke Yin ](https://profiles.wordpress.org/freeduke/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/corona-virus-data/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://www.dukeyin.com/donate/)