Este plugin no ha sido probado con ninguna las 3 últimas versiones principales de WordPress. Puede que ya no se mantenga o no tenga soporte, y puede que tenga problemas de compatibilidad cuando se utiliza con versiones más recientes de WordPress.

Corona Virus Data

Descripción

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.

Puedes ver cuántos pacientes han sido confirmados, han fallecido o se han recuperado en el mundo y en el país o región que selecciones.

Este plugin es de uso gratuito.

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

Web de la API: https://github.com/NovelCOVID/API

Licencia: https://github.com/NovelCOVID/API/blob/master/LICENSE

Endpoint: https://disease.sh/

Política de privacidad: https://github.com/NovelCOVID/API/blob/master/privacy.md

Por favor, lee la “Política de privacidad” de esta API antes de descargar e instalar este plugin en tu web.

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/

Capturas de pantalla

  • Los datos se muestran en la vista pública.
  • Muestra todos los datos de los países en una tabla.
  • A map show statistics of the world.
  • Line chart showing global daily data.
  • La página de opciones te permite elegir en qué país centrarte.

Instalación

Esta sección describe cómo instalar el plugin y hacer que funcione.

  1. Sube este plugin (descomprimido) al directorio /wp-content/plugins/
  2. Activa el plugin desde el menú “Plugins” de WordPress
  3. Place shortcodes in your post or page anywhere you want to show latest coronavirus data.

FAQ

¿Qué se comparte entre la API y yo?

Este plugin solo descarga el recuento de datos del coronavirus de la API en el navegador web del visitante como un archivo JSON, sin subidas, ninguna información del servidor o del visitante se compartirá con nadie en ningún lugar.

¿Hay alguna página de administración?

Sí, ve a “Ajustes -> Corona Virus Data”, allí puedes elegir un país o región en el que enfocarte, este se mostrará en la vista pública.

¿Cómo usar este plugin?

Activa este plugin, escribe el shortcode [cov2019] o [cov2019all] en cualquier página o entrada, publícala, los gráficos se mostrarán, eso es todo.

¿Problemas de red con la obtención de los datos?

La fuente de datos de este plugin proviene de una API, bastante rápida cuando la he probado, pero los fallos suceden y, si no puedes obtener ningún dato, intenta relajarte y volver a cargar tu página un poco más tarde.

Reseñas

30 de Marzo de 2021 3 respuestas
Uncaught ReferenceError: cov__contry is not defined No Russia, no China, no any other
1 de Mayo de 2020 3 respuestas
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 de Abril de 2020
Great plugin and easy to customzie for my purpose, thank you
Leer los 13 comentarios

Colaboradores & Desarrolladores

“Corona Virus Data” es software de código abierto. Las siguientes personas han contribuido a este plugin.

Colaboradores

“Corona Virus Data” ha sido traducido en 23 idiomas. Gracias a los traductores por sus contribuciones.

Traduce “Corona Virus Data” a tu idioma.

¿Interesado en el desarrollo?

Revisa el código, echa un vistazo al repositorio SVN, o suscríbete al registro de desarrollo por RSS .

Historial de cambios

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

  • Actualizado el archivo README.txt.
  • 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

  • Actualizado el archivo README.txt.
  • Cambio de la API de COVID-19-API a github.com/NovelCOVID/API.
  • Un mapa para ayudar a seleccionar un país en la página de opciones.
  • Todos los países o regiones disponibles son agregados al selector.
  • Nuevo shortcode [cov2019all] para mostrar todos los datos más recientes de países en una tabla.
  • Los datos en la tabla se ordenarán por números “Confirmados”.

1.1.2

  • Actualizado el archivo README.txt, corrección de ortografía.
  • Agregados más países, ahora son 33 países en total.
  • Agregada una captura de pantalla de la página de opciones.
  • Error corregido.

1.1.1

  • Cambiada la API de lab.isaaclin.cn a COVID-19-API.
  • Página de opciones para seleccionar tu región o país.
  • Agregado un ícono de carga.
  • Actualizada la traducción.

1.1.0

  • Cambiada la API de sina.cn a lab.isaaclin.cn.
  • Archivo de JavaScript optimizado.

1.0.0

  • Una versión estable.