yduke / corona-virus-data

The Corona Virus Data WordPress plugin mirror.

Home Page:https://wordpress.org/plugins/corona-virus-data/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Corona Virus Data - a WordPress plugin

Corona Virus Data The corona virus data WordPress plugin mirror.

This plugin uses an api to display the "Corona virus" data in the whole world and country you care through shortcode [cov2019] [cov2019country] [cov2019all] [cov2019map] [cov2019history] and [cov2019historyc] on your WordPress post or page.

Getting Started

What's this for?

This plugin reads the coronavirus api data and show them to your visitors, data including confirmed, dead and recovered numbers of patient(s), world wide and the country or region you focus.

Installing

  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] [cov2019country] [cov2019all] or [cov2019map] in your post or page anywhere you want to display a chart to show the virus data.

How to use

Put shortcodes into any of your WordPress page or post to show data in different way.

  • [cov2019] Showing global COVID data.

  • [cov2019contry] Showing COVID data of the country or region 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.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

  • Duke Yin - Initial work - yduke

License

This project is licensed under the GPL License v2 - see the LICENSE.txt file for details

Current API

NovelCOVID/API

Acknowledgments

Thanks NovelCOVID/API providing the data API.

Thanks @xj001 for his contribution to this project.

Term of use

This plugin (program) is licensed under the GPL v2. You may copy, distribute and modify the software as long as you track changes/dates of in source files and keep modifications under GPL. You can distribute your application using a GPL library commercially, but you must also provide the source code.

About

The Corona Virus Data WordPress plugin mirror.

https://wordpress.org/plugins/corona-virus-data/

License:GNU General Public License v2.0


Languages

Language:PHP 90.9%Language:JavaScript 9.1%