Coronavirus COVID-19 Watch

Description

Free live data shown on your dashboard and via shortcode or widget. Show up to date confirmed cases or deaths in your country or globally. The plugin will also add a helpful link in the top toolbar to quickly get more info. There’s also a widget that you can add to your footers or menus.

Check out examples and more on our blog containing the full documentation and examples.

Live data shortcode

The shortcode you can use in your posts will always reference the most up to date number of confirmed cases.

Use the shortcode [covid-watch] in your code to show the current number of confirmed cases.

You can pass a country and status, like [covid-watch country="France" status="confirmed"] or [covid-watch country="US" status="deaths"] to get results only from that country.

Listing all countries

To get a table of all countries and their respective current Coronavirus COVID-19 data, try [covid-watch country="All"], which will return a table of all current cases sorted alphabetically.

Pass the sort attribute to sort by confirmed cases or deaths, like so: [covid-watch country="All" sort="confirmed"].

Pass the limit attribute to limit the amount of results, like so: [covid-watch country="All" sort="confirmed" limit="3"]. The limit attribute only works in conjunction with the country="All" attribute.

Live map shortcode

This shortcode will display a map of all cases.

Use the shortcode [covid-live-map] in your posts and pages to show the map. You can pass the sort parameter to change how countries are coloured. Colour by population, confirmed (default), deaths, or mortality.

A full example might look like [covid-live-map sort="confirmed" height="250px"].

Historical data shortcode

You can also use the historical shortcode, [covid-history] to show a table of historical data.

Just like in the live data shortcode, you can pass attributes to the history shortcode, like so [covid-history country="France" status="confirmed" limit="3"].

About recovered data

Some similar plugins may provide “recovered” data. We’ve been informed that a lot of countries are no longer reporting on recovered data because medical teams don’t have the time to follow up with each patient. Because of this, Johns Hopkins and other data sources have stopped reporting recovered cases, and so have we. We recommend you don’t show recovered cases as no accurate data is available.

Features

  1. 100% free
  2. Up to date information from Johns Hopkins University
  3. Incredibly fast – no performance impact on your site
  4. Shortcodes to have self-updating case numbers in your posts
  5. Admin dashboard box showing live confirmed cases
  6. Widget for confirmed cases that you can add to your footers or menus

Privacy policy

This plugin uses data from Johns Hopkins University and ARCGIS, provided via API thanks to M Media (mmediagroup.fr). Here’s a link to M Media, the API provider. Access the API directly here M Media. The M Media API privacy policy is here, the terms of use here and the JHU Data Usage policy is here.

Screenshots

  • Example of the dashboard widget in the admin area.
  • Example of how to use the shortcode to get live Coronavirus cases in your posts.
  • Example of the live map shortcode.

Installation

  1. Search for the “Coronavirus COVID-19 Watch” plugin in Plugins > Add New.
  2. Press “Install Now”.
  3. When the installation is complete, press “Activate plugin”.
  4. Go to Settings > Reading to choose the country to show on your admin dashboard.

FAQ

Is it free?

Yes, this plugin is free to use.

Can I show data for my country only?

Yes, you can pass your country in the shortcode attributes.

How often is data updated?

Our data is updated every hour (on average).

Where is the data from?

The data is provided from Johns Hopkins University via the M Media API.

Do you have recovered data?

We recommend you don’t show recovered cases as no accurate data is available.

We’ve been informed that a lot of countries are no longer reporting on recovered data because medical teams don’t have the time to follow up with each patient. Because of this, Johns Hopkins and other data sources have stopped reporting recovered cases, and so have we.

Reviews

April 2, 2020
A plugin that provides world and country-based 'live' stats surrounding the Coronavirus pandemic is just what I needed. Installed the plugin, read the instructions, dropped in shortcodes, done!
Read all 2 reviews

Contributors & Developers

“Coronavirus COVID-19 Watch” is open source software. The following people have contributed to this plugin.

Contributors

“Coronavirus COVID-19 Watch” has been translated into 4 locales. Thank you to the translators for their contributions.

Translate “Coronavirus COVID-19 Watch” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.4.7

  • Added auto-update
  • Changed map to static function so it can be referenced in other PHP code

1.4.6

  • Added limit attribute to as per user suggestion

1.4.5

  • Moved external map CSS and JS into the plugin as per the guidelines

1.4.4

  • Reordered the map country attributes
  • Made attribution off by default
  • Made the toolbar menu item off by default

1.4.3

  • Added height attribute to the map

1.4.2

  • Removed one map per page limitation

1.4.1

  • Added new sort attribute to [covid-live-map] shortcode which will change how countries are coloured. Colour by population, confirmed, deaths, or mortality.

1.4

  • Added new [covid-live-map] shortcode which will show a live map of cases.

1.3

  • Added new “All” countries parameter to [covid-watch] shortcode, [covid-watch country="All" sort="deaths"], which will return a table of all current cases sorted by deaths.

1.2.1

  • Made more strings translatable
  • Added settings option to remove toolbar menu
  • Changed country settings input to type ‘select’

1.2

  • Added history shortcode.

1.1

  • Added settings page. Go to Settings > Reading, then scroll down to the section “COVID-19 Watch”

1.0.7

  • Updates

1.0.6

  • Added base for historical data shortcode

1.0.5

  • Added local caching

1.0.4

  • Fixed bug

1.0.3

  • Made translatable

1.0.2

  • Fixed bug

1.0.1

  • Added attribute "country" and "status" to shortcode.

1.0

  • Initial commit.