跳到内容

WP-C19Ampel

v1.1.24

Ralph Rathmann · 2021年8月25日 上架

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

正在使用
10+
评分
暂无
累计下载
1,404
最近更新
2022年2月2日
需要 WordPress 5.1+已测试到 5.9.21

贡献者

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

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums