[WordPress] 外掛分享: Meteohub

首頁外掛目錄 › Meteohub
WordPress 外掛 Meteohub 的封面圖片
10+
安裝啟用
★★★★★
5/5 分(1 則評價)
750 天前
最後更新
問題解決
WordPress 3.0.1+ v1.3.1 上架:2014-03-30

內容簡介

這個外掛可以藉由短代碼在你的網站內容中輕易地顯示來自 Meteohub all-sensors.txt 檔案的資料。

例如:
溫度:[meteohub sensor=’actual_th1_temp_c’]°C
最大風速:[meteohub sensor=’alltime_wind0_maxspeeddir_nl’] [meteohub sensor=’alltime_wind0_gustspeedmax_bft’] bft ([meteohub sensor=’alltime_wind0_gustspeedmax_kmh’]) 於 [meteohub sensor=’alltime_wind0_gustspeedmax_time’]

將顯示為:

溫度:9°C
最大風速:NNW 12.4 bft (130.3 km/h) 於 2013-10-28 12:31

該外掛會自動根據 WordPress 的時間及日期設定重新編寫日期和時間,趨勢值會被重新編寫為箭頭圖像。

我與 Meteohub 沒有任何關係,不因任何佣金或推薦而從中獲利。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.3.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Meteohub」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

This plugin lets you show the data from Meteohub all-sensors.txt file easily in the content of your website using shorttags.
For example:
Temperature: [meteohub sensor=’actual_th1_temp_c’]°C
Max windspeed: [meteohub sensor=’alltime_wind0_maxspeeddir_nl’] [meteohub sensor=’alltime_wind0_gustspeedmax_bft’] bft ([meteohub sensor=’alltime_wind0_gustspeedmax_kmh’]) on [meteohub sensor=’alltime_wind0_gustspeedmax_time’]
will result in:
Temperature: 9°C
Max windspeed: NNW 12.4 bft (130.3 km/h) on 28-10-2013 at 12:31
The plugin automatically rewrites the date and time according to your WordPress time and date settings, and trend values get rewritten to arrow images.
I am in no way, shape or form affiliated with Meteohub and do not in any way profit from commissions or referrals to them.

延伸相關外掛

文章
Filter
Mastodon