Beschreibung
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
Installation
This section describes how to install the plugin and get it working.
- Upload this plugin(unziped) to the
/wp-content/plugins/
directory - Activate the plugin through the ‚Plugins‘ menu in WordPress
- Place shortcodes in your post or page anywhere you want to show latest coronavirus data.
FAQ
-
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.
Rezensionen
Mitwirkende & Entwickler
„Corona Virus Data“ ist Open-Source-Software. Folgende Menschen haben an diesem Plugin mitgewirkt:
Mitwirkende„Corona Virus Data“ wurde in 23 Sprachen übersetzt. Danke an die Übersetzerinnen und Übersetzer für ihre Mitwirkung.
Übersetze „Corona Virus Data“ in deine Sprache.
Interessiert an der Entwicklung?
Durchstöbere den Code, sieh dir das SVN Repository an oder abonniere das Entwicklungsprotokoll per RSS.
Änderungsprotokoll
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.