[WordPress] 外掛分享: Coronavirus

首頁外掛目錄 › Coronavirus
10+
安裝啟用
尚無評分
1511 天前
最後更新
問題解決
v2.0.0 上架:2020-03-25

內容簡介

此 WordPress 外掛可讓您顯示一個小組件,其中包含有關冠狀病毒的數據。
您可以選擇以下一些選項:

總確診數
今日確診數
總死亡人數
今日死亡人數
康復人數
現存確診人數
嚴重病例數
每百萬人確診數

您可以在設定頁面中選擇要顯示的數據。此外,您還可以完全自定義此小組件。
要顯示小組件,您需要使用 [coronavirus] 短碼,這將顯示全球數據。
還有一個可選的 country 屬性,可用於顯示有關特定國家的數據。
請按此格式添加 country 屬性 [coronavirus country=”國家名稱”]。通常需要使用國家的全名,需要在適當的地方加上空格。
一個非常有限的國家集縮寫為:

美國 = USA
英國 = UK
南韓 = S. Korea

此冠狀病毒外掛依賴 NovelCOVID 的API,以獲取所有數據。
API 的 Github 頁面在:https://github.com/novelcovid/api
API 的隱私政策在:https://github.com/NovelCOVID/API/blob/master/privacy.md

外掛標籤

開發者團隊

⬇ 下載最新版 (v2.0.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Coronavirus」→ 直接安裝(推薦)

原文外掛簡介

This wordpress plugin lets you display a widget like component with data about the corona virus.
Some options you can choose are as following:

Total cases
Today’s cases
Total deaths
Today’s deaths
Recovered
Active cases
Critical
Cases per one million

You choose what data you want to display in the settings page. On top of that you also have the option to fully customize the widgets.
To display the widget you need to use the [coronavirus] shortcode, this will display the global data.
There is also an optional country attribute which you can use to display data about a specific country.
Append the country attribute like this [coronavirus country=”name_of_the_country”]. Usually the full name of the country with spaces where needed is required.
A very select set of countries has been abbreviated to:

United States Of America = USA
United Kingdom = UK
South Korea = S. Korea

The coronavirus pugin relies on the API by NovelCOVID for all it’s data.
The API its Github page: https://github.com/novelcovid/api
The API its privacy policy: https://github.com/NovelCOVID/API/blob/master/privacy.md

延伸相關外掛

文章
Filter
Apply Filters
Mastodon