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.

God bless Wuhan, god bless China, and god bless people of the world. May everyone in this world be healthy.

Shortcode

  • [cov2019] Showing basic data of world and a country you select.

  • [cov2019all] Showing data of all countries in a talbe.

  • [cov2019map] Showing a map with data of each country.

Current API infomation

NovelCOVID/API

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

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

Endpoint: https://corona.lmao.ninja/

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.
  • 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 the shortcode [cov2019] in your post or page anywhere you want to display a chart to show the virus data.
  4. Place the shortcode [cov2019all] in your post or page to display a table to show detailed data of the whole world.
  5. Place the shortcode [cov2019map] in your post or page to display a map to show detailed data of the whole world.

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

April 4, 2020
this plugin has everything even it translated in my language and you can show everything about corona virus with just 3 shortcodes
March 30, 2020
It is the great plugins that I've ever found. But, there's 2 this that not included, which make it perfect 1. The list in the table doesn't make it for mobile devices. 2. Add translation option for it...
March 30, 2020
Simple, straight forward, I hope we will not be using it any more soon, stay well stay home 🙂
March 28, 2020
试了很多关注冠状病毒的插件,多数都是自作聪明加了很多所谓酷炫的样式,其实每个人的网站模板不一样,最好的样式就是没有样式。这个插件做的不错,适应性强。 就是地图稍稍乱点儿。
Read all 7 reviews

Contributors & Developers

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

Contributors

“Corona Virus Data” has been translated into 15 locales. Thank you to the translators for their contributions.

Translate “Corona Virus Data” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

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 creat 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.