WP-C19Ampel

WordPress-Plugin to show Cov19-incidences from RKI for german districts (Landkreise) as traffic-light, as value and…

Author:Ralph Rathmann (profile at wordpress.org)
WordPress version required:5.1
WordPress version tested:5.9
Plugin version:1.1.24
Added to WordPress repository:25-08-2021
Last updated:01-02-2022
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:0
Rated by:0
Plugin URI:https://rredv.net/WPcorona-ampel/
Total downloads:397
Active installs:10+
plugin download
Click to start download

WordPress-Plugin to show Cov19-incidences from RKI for german districts (Landkreise) as traffic-light, as value and history chart

Corona Ampel Settings:

Find Your German district (Landkreis) in the following pdf: https://github.com/RalphRathmann/WP-C19Ampel/blob/main/assets/RKI_Corona_Landkreise.pdf (Data from RKI-Datahub )

Set the OBJECTID in the Plugin-Page (WP-Backend / C19Ampel).

Set threshold 1 and 2 in the settings page

Set the value for number days in the past to show in chart

Check or uncheck, if you want to show the integrated visit counter

Check or uncheck, if you want to remove the history data on plugin remove

Embed with a shortcode:

[C19Ampel] – standard-settings

[C19Ampel show=’16’] – Show Ampel with Objectid 16 (Hamburg)

Call per GET-Parameter: append ?landkreis=NN to your Page-URL, to show this certain district (Landkreis)

E.g.: https://rredv.net/corona-ampel/?landkreis=16 shows Hamburgs incidence

Changelog:

V1.1.24:
– response-code on api-server error excluded from error message

V1.1.23:
– bug fix: behaviour of saving incidences before RKI-Data are stable (5:00AM)
– getoptions and external urls escaped

V1.1.22:
– hardening int
– minor design changes to the chart (behaviour of values above / inside bars)
– additional information for “early birds” in early morning hours, who view the site befor data are available for today

V1.1.21:

  • use of wordpress integrated functions to call external rest-api
  • option to remove data on plugin remove
  • number of days to show in the chart
  • elements in css ids and classes in c19style.css
  • unique prefix for every function

  • minor changes to design and appearance