Αυτό το πρόσθετο δεν έχει δοκιμασθεί με τις 3 τελευταίες κύριες εκδόσεις του WordPress. Μπορεί να μην αναπτύσσεται ή να υποστηρίζεται άλλο και να έχει προβλήματα συμβατότητας με τις πιο πρόσφατες εκδόσεις του WordPress.

WP COVID-19 DATA

Περιγραφή

As COVID-19 (coronavirus) spreads across the globe, this plugin helps the people who want to display Covid-19 data from around the world by country.

Display specific countries data in banner

The shortcode is [display_covid_19_data] and accepts the following attributes.

  1. countries=”Canada,Turkey,China”
    (for multiple countries data)

  2. bg_color=”#ffffff”
    (for custom background color)

  3. global_data=”false”
    (for disabling to global data on banner)

Example usage with attributes:

[display_covid_19_data countries="Canada,Turkey,China,Germany,India" bg_color="#ffffff"]

Display all countries in table

The other shortcode is [display_covid_19_global_data] and accepts the following attributes.

  1. bg_color=”#ffffff”
    (for table custom background color)

Example usage with attributes:

[display_covid_19_global_data bg_color="#000000"]

Display historical cases and deaths data in line chart

this shortcode is [display_covid_19_data_line_chart] and accepts the following attributes.

  1. country=”China”
    (for the country you want to display)

Example usage with attributes:

[display_covid_19_data_line_chart country="China"]

Where COVID-19 data is coming?

The plugin is pulling all uptodate COVID-19 data from Novel Covid which is an open sourced API that provides you information about the coronavirus pandemic across the globe.

You can search and view any specific country or location that has been affected by COVID-19.

All information that is provided by our API updates every 10 minutes, giving the best and reliable results.

Their server provides support for those who are in need that wants to create their own projects to show off into the world.

You can find more details regarding Novel Covid API from the their github acccount.
https://github.com/NovelCOVID/API

WP COVID-19 Data plugin use two endpoints listed below.

https://corona.lmao.ninja/all
Returns all total cases, recovery, and deaths.

https://corona.lmao.ninja/countries?sort={parameter}
Returns data of each country sorted by the parameter

Please find the terms of use or privacy policy of Novel Covid API from the link below.
https://github.com/NovelCOVID/API/blob/master/privacy.md

Στιγμιότυπα

  • This screen shot description to show data banner.

  • This is the second screen shot to show table verfion fo Covid 19 data.

  • This is the second screen shot to show Covid 19 data for specific country on line chart.

Εγκατάσταση

This section describes how to install the plugin and get it working.

e.g.

  1. Upload wp-covid-19-data.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Place your shorcode mentioned above in your posts and pages.

Συχνές Ερωτήσεις

Which languagee is supported?

English and Turkish languages is available in this plugin.

Who should download this plugin?

This plugin is for site owners who want to display information about the coronavirus pandemic across the globe.
You might be news website or non-profit organization which let people know COVID-19.

Can I request a new feature?

Yes, of course. We’ll be happy to add new features as per our users feedback.

Κριτικές

2 Απριλίου 2020 1 απάντηση
Typographical Errors on Tables – Today Cases should be Today’s Cases also Today Deaths should be Today’s Death. Once that is done the plugin is fine.
Ανάγνωση όλων των 2 κριτικών

Συνεισφέροντες & Προγραμματιστές

“WP COVID-19 DATA” είναι λογισμικό ανοιχτού κώδικα. Οι παρακάτω έχουν συνεισφέρει στη δημιουργία του.

Συντελεστές

Το “WP COVID-19 DATA” έχει μεταφραστεί σε 5 γλώσσες. Ευχαριστούμε τους μεταφραστές για τις συνεισφορές τους.

Μεταφράστε το “WP COVID-19 DATA” στην γλώσσα σας.

Ενδιαφέρεστε για την ανάπτυξη;

Περιηγηθείτε στον κώδικα, ανατρέξτε στο αποθετήριο SVN ή εγγραφείτε στο αρχείο καταγραφής αλλαγών ανάπτυξης μέσω RSS .

Σύνοψη αλλαγών

1.0.0

  • First version of the plugin.

1.1.0

  • Line chart added.
  • Turkish language support added.
  • A new parameter added to [display_covid_19_data]
  • Improved the code quality.
  • Improved the styylin of banner.
  • Readme file updated.

1.1.1

  • css and js min file added

1.1.2

  • fixed minor translation issue

1.1.3

  • deprecated API endpoint updated