Det här tillägget har inte testats med någon av de 3 senaste huvudversionerna av WordPress. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem när det används tillsammans med nyare versioner av WordPress.

COVID-19 Stats Shortcode

Beskrivning

The plugin for the blog owners whom wants to show the COVID-19 Stats on their blog to spread awareness. Simply use the shortcode anywhere you want to display Coronavirus Stats on your WordPress site/blog.

IMPORTANT NOTICE

The data source came from Novel Coronavirus (COVID-19) Cases Worldwide. I’m using this: https://github.com/novelcovid/api API to fetch the data. Here you can read the more about it’s policies here: https://github.com/NovelCOVID/API/blob/master/privacy.md

Shortcode: [covid-19]

Use the shortcode anywhere on your website to show Coronavirus Stats, use the below arguments to filters the output. Like this: [covid-19 sort=”country” style=”table”]

Arguments:

  • Sort = country or all
  • Style = card or table

Shortcode: [covid-19-country-stats]

Use the shortcode [covid-19-country-stats] for showing country specific Coronavirus stats. Use [covid-19-country-stats sort=”YOUR-COUNTRY-NAME”] to get your country stats.

Skärmdumpar

  • [covid-19 style=”card”] Card Style
  • [covid-19 style=”table”] Table Style

Installation

Way 1:

  1. Upload plugin to the /wp-content/plugins/ directory
  2. Extract the zip file.
  3. Activate the plugin from wordpress plugins page. And you have done.

Way 2:

  1. Go to plugins page in admin.
  2. Click on Add New button.
  3. Search for “COVID-19 Stats Shortcode Plugin”.
  4. Click install on COVID-19 Stats Shortcode Plugin Author: Jagdish.
  5. Activate the plugin

Vanliga frågor

Is the plugin free to use?

Yes the plugin is absolutely free to use.

Where I can read the terms and condition of the plugin?

Here’s the link where you can read the terms and condition of the API we are using to fetch the data. Link: https://help.github.com/en/github/site-policy/github-open-source-applications-terms-and-conditions

Recensioner

Läs 1 betyg

Bidragsgivare och utvecklare

”COVID-19 Stats Shortcode” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer

”COVID-19 Stats Shortcode” har översatts till 2 språk. Tack till översättarna för deras bidrag.

Översätt ”COVID-19 Stats Shortcode” till ditt språk.

Intresserad av programutveckling?

Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.