
前言介紹
- 這款 WordPress 外掛「WP COVID-19 DATA」是 2020-03-24 上架。
- 目前有 20 個安裝啟用數。
- 上一次更新是 2020-04-17,距離現在已有 2140 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 4.0 以上版本才可以安裝。
- 有 2 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
外掛標籤
covid-19 | WP COVID-19 | COVID-19 Data | WordPress COVID-19 |
內容簡介
隨著 COVID-19(冠狀病毒)在全球擴散,此外掛可幫助希望顯示來自各國的 Covid-19 數據的人們。
在橫幅中顯示特定國家的數據
使用的 shortcode 為 [display_covid_19_data],可以使用以下屬性。
countries=”Canada,Turkey,China”
(為多個國家的數據)
bg_color=”#ffffff”
(用於自定義背景顏色)
global_data=”false”
(禁用橫幅上的全局數據)
帶有屬性的範例用法:
[display_covid_19_data countries="Canada,Turkey,China,Germany,India" bg_color="#ffffff"]
在表格中顯示所有國家
另一個 shortcode 為 [display_covid_19_global_data],可以使用以下屬性。
bg_color=”#ffffff”
(用於表格自定義背景顏色)
帶有屬性的範例用法:
[display_covid_19_global_data bg_color="#000000"]
以折線圖顯示歷史病例和死亡數據
此 shortcode 為 [display_covid_19_data_line_chart],可以使用以下屬性。
country=”China”
(要顯示的國家)
帶有屬性的範例用法:
[display_covid_19_data_line_chart country="China"]
COVID-19 數據來源?
該外掛從 Novel Covid 拉取所有最新的 COVID-19 數據,這是一個開放源碼 API,可提供全球冠狀病毒疫情的信息。
您可以搜索和查看任何受 COVID-19 影響的特定國家或地區的信息。
我們的 API 提供的所有信息每 10 分鐘更新一次,提供最好且可靠的結果。
他們的服務器為那些希望創建自己的項目來展示到全世界的人提供支持。
您可以從其 GitHub 帳戶中找到有關 Novel Covid API 的更多詳細信息。
https://github.com/NovelCOVID/API
WP COVID-19 資料外掛使用下列兩個端點。
https://corona.lmao.ninja/all
返回所有總病例、恢復率和死亡人數數據。
https://corona.lmao.ninja/countries?sort={parameter}
按該參數排序返回每個國家的數據。
請從以下鏈接查找 Novel Covid API 的使用條款或隱私政策。
https://github.com/NovelCOVID/API/blob/master/privacy.md
原文外掛簡介
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.
countries=”Canada,Turkey,China”
(for multiple countries data)
bg_color=”#ffffff”
(for custom background color)
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.
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.
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
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「WP COVID-19 DATA」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
延伸相關外掛(你可能也想知道)
暫無相關外掛推薦。
