Tento plugin nebol testovaný s najnovšími 3 hlavnými vydaniami WordPress. Už nemusí byť udržiavaný alebo podporovaný a môže mať problémy s kompatibilitou pri použití s novšími verziami WordPress.

Corona Virus Data

Popis

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 webstránky: https://github.com/NovelCOVID/API

Licencia: 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/

Obrázky

  • Údaje sú zobrazené v klientskom rozhraní.
  • 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.

Inštalácia

Táto sekcia popisuje inštaláciu pluginu a ako plugin pracuje.

  1. Nahrajte tento doplnok (rozbalený) do adresára / wp-content / plugins /
  2. Aktivujte tento plugin prostredníctvom menu „Pluginy“ vo WordPress
  3. Place shortcodes in your post or page anywhere you want to show latest coronavirus data.

Časté otázky

Čo je zdieľané medzi API a mnou ?

Tento doplnok, ktorý sťahuje iba dáta o Coronavíre, počíta údaje z rozhrania API do webového prehľadávača návštevníka ako súbor json, nikto nebude zdieľať žiadne nahrané súbory, žiadne informácie o serveri ani informácie o návštevníkoch.

Aká je stránka správcu ?

Áno, prejdite na Nastavenia vírusových dát Corona, tam si môžete vybrať krajinu alebo región, na ktorý sa chcete zamerať, to sa potom zobrazí v klientskom rozhraní.

Ako používať tento plugin ?

Aktivujte tento doplnok, napíšte na ľubovoľnú stránku alebo príspevok krátky kód [cov2019] alebo [cov2019all] , zverejnite ho a grafy sa zobrazia, to je všetko.

Problém so sieťou pri získavaní údajov?

Zdroj údajov tohto doplnku pochádzal z rozhrania API, veľmi rýchleho pri testovaní, ale chyby sa stanú, ak nemôžete získať žiadne údaje, skúste svoju stránku pozrieť neskôr alebo načítať znova.

Recenzie

30. marca 2021 3 replies
Uncaught ReferenceError: cov__contry is not defined No Russia, no China, no any other
1. mája 2020 3 replies
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. apríla 2020
Great plugin and easy to customzie for my purpose, thank you
Prečítať všetkých 13 recenzií

Prispievatelia a vývojári

“Corona Virus Data” je softvér s otvoreným zdrojovým kódom. Do tohto pluginu prispeli nasledujúci ľudia.

Prispievatelia

„Corona Virus Data“ bol preložený do 23 jazykov. Ďakujeme prekladateľom za ich príspevky.

Preložiť „Corona Virus Data“ do vašho jazyka.

Máte záujem o vývoj?

Prehľadávajte zdrojový kód, preskúmajte SVN repozitár, alebo sa prihláste na odber vývojárskeho logu cez RSS.

Zoznam zmien

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

1.1.1

  • Change the API from lab.isaaclin.cn to COVID-19-API.
  • Option page to select your region or country.
  • Pridať ikonu nahrávania.
  • Preklad aktualizovaný.

1.1.0

  • Zmeň API z sina.cn na lab.isaaclin.cn
  • Súbory JavaScript-u boli optimalizované.

1.0.0

  • Stabilná verzia