{"id":117470,"date":"2020-02-21T14:22:14","date_gmt":"2020-02-21T14:22:14","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/corona-virus-data\/"},"modified":"2024-05-22T03:06:06","modified_gmt":"2024-05-22T03:06:06","slug":"corona-virus-data","status":"publish","type":"plugin","link":"https:\/\/tah.wordpress.org\/plugins\/corona-virus-data\/","author":16320977,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.4.3","stable_tag":"trunk","tested":"6.6.5","requires":"3.0.1","requires_php":"7.2","requires_plugins":null,"header_name":"Corona Virus Data","header_author":"Duke Yin","header_description":"This plugin display the \"Novel Coronavirus (2019-nCoV)\" data in realtime through a shortcode [cov2019] in your WordPress post or page.","assets_banners_color":"5cd6ad","last_updated":"2024-05-22 03:06:06","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.dukeyin.com\/donate\/","header_plugin_uri":"https:\/\/www.dukeyin.com\/corona-virus-data\/","header_author_uri":"https:\/\/www.dukeyin.com","rating":4.4,"author_block_rating":0,"active_installs":1000,"downloads":69206,"num_ratings":12,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"1.3.0":"<ul>\n<li>2 new shortcodes for line chart are available in 1.3.0, <code>[cov2019history]<\/code> and <code>[cov2019historyc]<\/code>.<\/li>\n<\/ul>","1.2.5":"<ul>\n<li>Please check and save your settings in option page after upgrade this plugin.<\/li>\n<\/ul>","1.0":"<p>Noting to worry about.<\/p>"},"ratings":{"1":2,"2":0,"3":0,"4":0,"5":11},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2248214,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":2248214,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":2265885,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":2265885,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2284625,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":2284625,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":2284625,"resolution":"3","location":"assets","locale":""},"screenshot-4.png":{"filename":"screenshot-4.png","revision":2284625,"resolution":"4","location":"assets","locale":""},"screenshot-5.png":{"filename":"screenshot-5.png","revision":2284625,"resolution":"5","location":"assets","locale":""}},"screenshots":{"1":"The data shows in front-end.","2":"Show all data of countries in a table.","3":"A map show statistics of the world.","4":"Line chart showing global daily data.","5":"The option page let you choose which country to focus on."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[183128,182082,182083,182191,182192],"plugin_category":[],"plugin_contributors":[182194],"plugin_business_model":[],"class_list":["post-117470","plugin","type-plugin","status-publish","hentry","plugin_tags-corona-virus","plugin_tags-coronavirus","plugin_tags-covid-19","plugin_tags-ncov19","plugin_tags-182192","plugin_contributors-freeduke","plugin_committers-freeduke"],"banners":{"banner":"https:\/\/ps.w.org\/corona-virus-data\/assets\/banner-772x250.png?rev=2265885","banner_2x":"https:\/\/ps.w.org\/corona-virus-data\/assets\/banner-1544x500.png?rev=2265885","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/corona-virus-data\/assets\/icon-128x128.png?rev=2248214","icon_2x":"https:\/\/ps.w.org\/corona-virus-data\/assets\/icon-256x256.png?rev=2248214","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/corona-virus-data\/assets\/screenshot-1.png?rev=2284625","caption":"The data shows in front-end."},{"src":"https:\/\/ps.w.org\/corona-virus-data\/assets\/screenshot-2.png?rev=2284625","caption":"Show all data of countries in a table."},{"src":"https:\/\/ps.w.org\/corona-virus-data\/assets\/screenshot-3.png?rev=2284625","caption":"A map show statistics of the world."},{"src":"https:\/\/ps.w.org\/corona-virus-data\/assets\/screenshot-4.png?rev=2284625","caption":"Line chart showing global daily data."},{"src":"https:\/\/ps.w.org\/corona-virus-data\/assets\/screenshot-5.png?rev=2284625","caption":"The option page let you choose which country to focus on."}],"raw_content":"<!--section=description-->\n<p>This plugin displays the Coronavirus case data of the whole world and country you care through shortcodes <code>[cov2019]<\/code> <code>[cov2019all]<\/code> or <code>[cov2019map]<\/code> in your WordPress post or page.<\/p>\n\n<p>You can see how many patient(s) are confirmed, dead or recovered, in the world, and the country or region you select.<\/p>\n\n<p>This plugin is free to use.<\/p>\n\n<p>Praying for those affected by the coronavirus and those who are worried. May everyone in this world be healthy.<\/p>\n\n<h3>Shortcode<\/h3>\n\n<ul>\n<li><p><code>[cov2019]<\/code> Showing global COVID data.<\/p><\/li>\n<li><p><code>[cov2019contry]<\/code> Showing COVID data of the country or region you select.<\/p><\/li>\n<li><p><code>[cov2019all]<\/code> Showing data of all countries in a table.<\/p><\/li>\n<li><p><code>[cov2019map]<\/code> Showing a map with data of each country.<\/p><\/li>\n<li><p><code>[cov2019history]<\/code>  A line chart showing global historical daily data.<\/p><\/li>\n<li><p><code>[cov2019historyc]<\/code>  A line chart showing historical daily data of the country you select.<\/p><\/li>\n<li><p><code>[cov2019namerica]<\/code> Data of North America.<\/p><\/li>\n<li><p><code>[cov2019samerica]<\/code> Data of South America.<\/p><\/li>\n<li><p><code>[cov2019europe]<\/code> Data of Europe.<\/p><\/li>\n<li><p><code>[cov2019asia]<\/code> Data of Asia.<\/p><\/li>\n<li><p><code>[cov2019oceania]<\/code> Data of Oceania.<\/p><\/li>\n<li><p><code>[cov2019africa]<\/code> Data of Africa.<\/p><\/li>\n<\/ul>\n\n<h3>Current API information<\/h3>\n\n<p>NovelCOVID\/API<\/p>\n\n<p>API website: https:\/\/github.com\/NovelCOVID\/API<\/p>\n\n<p>License: https:\/\/github.com\/NovelCOVID\/API\/blob\/master\/LICENSE<\/p>\n\n<p>Endpoint: https:\/\/disease.sh\/<\/p>\n\n<p>Privacy policy: https:\/\/github.com\/NovelCOVID\/API\/blob\/master\/privacy.md<\/p>\n\n<p>Please read the Privacy Policy of this API before you download and install this plugin in your website.<\/p>\n\n<h3>Third party services<\/h3>\n\n<p>Mapbox: https:\/\/www.mapbox.com\/\n* Mapbox Term of ues: https:\/\/www.mapbox.com\/legal\/tos\/\n* Mapbox Privacy policy: https:\/\/www.mapbox.com\/legal\/privacy\/<\/p>\n\n<!--section=installation-->\n<p>This section describes how to install the plugin and get it working.<\/p>\n\n<ol>\n<li>Upload this plugin(unziped) to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Place shortcodes in your post or page anywhere you want to show latest coronavirus data.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='what%27s%20been%20shared%20between%20api%20and%20me%3F'><h3>What's been shared between API and me?<\/h3><\/dt>\n<dd><p>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.<\/p><\/dd>\n<dt id='any%20admin%20page%3F'><h3>Any admin page?<\/h3><\/dt>\n<dd><p>Yes, go to Settings -&gt; Corona Virus Data, there you can choose a Country or Region to focus on, it will show up in front-end.<\/p><\/dd>\n<dt id='how%20to%20use%20this%20plugin%3F'><h3>How to use this plugin?<\/h3><\/dt>\n<dd><p>Activate this plugin, write the shortcode <code>[cov2019]<\/code> or <code>[cov2019all]<\/code> to any page or post, publish it, charts will show up, that's it.<\/p><\/dd>\n<dt id='networking%20problem%20with%20getting%20data%3F'><h3>Networking problem with getting data?<\/h3><\/dt>\n<dd><p>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.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.4.3<\/h4>\n\n<ul>\n<li>Bug fixes<\/li>\n<\/ul>\n\n<h4>1.4.2<\/h4>\n\n<ul>\n<li>Remove the recovered data in charts, because it will always be 0.<\/li>\n<li>Add shortcode <code>cov2019country<\/code> to show data of the country you select.<\/li>\n<\/ul>\n\n<h4>1.4.1<\/h4>\n\n<ul>\n<li>Bug fixes<\/li>\n<li>Change endpoint to latest one.<\/li>\n<\/ul>\n\n<h4>1.4.0<\/h4>\n\n<ul>\n<li>Fixed a bug that variable statements goes wrong, thanks to @jsgang;<\/li>\n<\/ul>\n\n<h4>1.3.9<\/h4>\n\n<ul>\n<li>Remove extra debug codes, housekeeping;<\/li>\n<\/ul>\n\n<h4>1.3.8<\/h4>\n\n<ul>\n<li>Fix some issues on php 8, keep it work on php 7;<\/li>\n<li>The data for continent Oceania was not shown, now this is fixed;<\/li>\n<li>Optimize the map style, for confirmed data is growing;<\/li>\n<\/ul>\n\n<h4>1.3.7<\/h4>\n\n<ul>\n<li>Tested up to 5.6;<\/li>\n<\/ul>\n\n<h4>1.3.6<\/h4>\n\n<ul>\n<li>Load scripts and styles only when shortcode presents, improve performance;<\/li>\n<\/ul>\n\n<h4>1.3.5<\/h4>\n\n<ul>\n<li>Upgrade the api from v2 to v3.<\/li>\n<li>No matter how the data changes in the future, the continents data can be displayed correctly. Thanks to @jakubgrac<\/li>\n<li>Add population data to each countries on map.<\/li>\n<\/ul>\n\n<h4>1.3.4<\/h4>\n\n<ul>\n<li>Continents data was messed up, now we fixed that. <\/li>\n<\/ul>\n\n<h4>1.3.3<\/h4>\n\n<ul>\n<li>Fixed an issue that JavaScript report errors when the API gives empty data filed.<\/li>\n<\/ul>\n\n<h4>1.3.2<\/h4>\n\n<ul>\n<li>Add data of 6 continents with new shortcodes.<\/li>\n<li>Mobile device experiences optimized.<\/li>\n<\/ul>\n\n<h4>1.3.1<\/h4>\n\n<ul>\n<li>Upgrde the api from v1 to v2.<\/li>\n<\/ul>\n\n<h4>1.3.0<\/h4>\n\n<ul>\n<li>Add 2 more shortcodes <code>[cov2019history]<\/code> and <code>[cov2019historyc]<\/code> to show historical daily data on line charts.<\/li>\n<\/ul>\n\n<h4>1.2.9<\/h4>\n\n<ul>\n<li>Add more data types to \"Global total\".<\/li>\n<li>Add a setting link to plugin list.<\/li>\n<li>Upgrde the api from v1 to v2.<\/li>\n<\/ul>\n\n<h4>1.2.8<\/h4>\n\n<ul>\n<li>Fixed css conflict issue for some themes.<\/li>\n<\/ul>\n\n<h4>1.2.7<\/h4>\n\n<ul>\n<li>Fixed a bug where Ivorian data could not be obtained.<\/li>\n<li>Make the name of the country you follow translatable.<\/li>\n<\/ul>\n\n<h4>1.2.6<\/h4>\n\n<ul>\n<li>Fixed a bug where Ivorian data could not be obtained.<\/li>\n<\/ul>\n\n<h4>1.2.5<\/h4>\n\n<ul>\n<li>Add an API status indicator to the options page.<\/li>\n<li>Add a checkbox to set whether to show the single country statistics in front-end or just global total numbers.<\/li>\n<li>Add a text filed to get Mapbox public token for each installation on options page. Mine is running out of requests.<\/li>\n<li>Include all external files into plugin folders.<\/li>\n<li>Add an \"Active\" number to Global Total statistics.<\/li>\n<li>Rearranged the order of individual country data.<\/li>\n<\/ul>\n\n<h4>1.2.4<\/h4>\n\n<ul>\n<li>Map style gets more beautiful.<\/li>\n<li>Colors on map represents the severity of the virus outbreak.<\/li>\n<\/ul>\n\n<h4>1.2.3<\/h4>\n\n<ul>\n<li>README.txt update.<\/li>\n<li>A short code [cov2019map] to create a map showing data.<\/li>\n<li>Numbers in table now colorized.<\/li>\n<\/ul>\n\n<h4>1.2.2<\/h4>\n\n<ul>\n<li>Fixed a bug that prevent flags to be load.<\/li>\n<\/ul>\n\n<h4>1.2.1<\/h4>\n\n<ul>\n<li>Add flags to countries in table and you focus.<\/li>\n<li>Responsive design for html table.<\/li>\n<li>Add colors for numbers in data.<\/li>\n<li>The API gives a Unix timestamp so removed the 'GTM' text in title.<\/li>\n<li>A better loading animated icon.<\/li>\n<\/ul>\n\n<h4>1.2.0<\/h4>\n\n<ul>\n<li>README.txt update.<\/li>\n<li>Switch API from COVID-19-API to github.com\/NovelCOVID\/API.<\/li>\n<li>A map to help select a country in options page.<\/li>\n<li>All available countries or regions are added to selector.<\/li>\n<li>New short code [cov2019all] to show all latest data of countries in a table.<\/li>\n<li>Data in table will sort by \"Confirmed\" numbers.<\/li>\n<\/ul>\n\n<h4>1.1.2<\/h4>\n\n<ul>\n<li>README.txt update, spelling correction.<\/li>\n<li>More countries added, now 33 countries in total.<\/li>\n<li>Add a screenshot of options page.<\/li>\n<li>Bug fix.<\/li>\n<\/ul>\n\n<h4>1.1.1<\/h4>\n\n<ul>\n<li>Change the API from lab.isaaclin.cn to COVID-19-API.<\/li>\n<li>Option page to select your region or country.<\/li>\n<li>Add a loading icon.<\/li>\n<li>Translation updated.<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Change the API from sina.cn to lab.isaaclin.cn.<\/li>\n<li>JavaScript file optimized.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>A stable version.<\/li>\n<\/ul>","raw_excerpt":"This plugin displays the Coronavirus case data through shortcodes [cov2019] [cov2019all] or [cov2019map] in your WordPress post or page.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/117470","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=117470"}],"author":[{"embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/freeduke"}],"wp:attachment":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=117470"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=117470"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=117470"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=117470"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=117470"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=117470"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}