Corona Virus Data

Описание

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

  • [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 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/

Скриншоты

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

Установка

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.

Часто задаваемые вопросы

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.

I’m in Russia, this plugin does not work, why?

The API we use had been blocked in Russia by government regulator since 2020-4-10, this plugin won’t work in Russia for now, sorry.

Отзывы

01.05.2020
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)
18.04.2020
Great plugin and easy to customzie for my purpose, thank you
06.04.2020
Just activated the plugin. It's running smoothly. I love it. Data is accurate. My question is, how can I make my country be the at the top list before others?
Посмотреть все 11 отзывов

Участники и разработчики

«Corona Virus Data» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:

Участники

«Corona Virus Data» переведён на 18 языков. Благодарим переводчиков за их работу.

Перевести «Corona Virus Data» на ваш язык.

Заинтересованы в разработке?

Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.

Журнал изменений

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