[WordPress] 外掛分享: wp-forecast

首頁外掛目錄 › wp-forecast
WordPress 外掛 wp-forecast 的封面圖片
5,000+
安裝啟用
★★★★
4.1/5 分(24 則評價)
66 天前
最後更新
問題解決
WordPress 6.0+ v9.8 上架:2007-09-20

內容簡介

你現在正在閱讀 wp-forecast 插件的 readme.txt 文件。
wp-forecast 是一個著名的 WordPress blogging 套件插件,顯示來自 accuweather.com 和/或 weatherbug.com 的天氣資料。
請參閱 accuweather.com 和 weatherbug.com 的使用條款。

特點:

在 WordPress 頁面、文章或側邊欄中顯示來自 AccuWeather.com 和/或 WeatherBug.com 的天氣資料

顯示 OpenUV.io 資料
讓你選擇:

地點(當然)
在天氣資料更新後的時間
語言(目前僅提供英語或德語)
公制或美制
風速單位
預測天數
最多九天的白天預報
最多九個晚上的夜間預報

支持 WordPress 小工具,易於放置 🙂
自定義所要顯示的資訊
支持下拉式預報資料以有效利用空間
支持多個 wp-forecast 小工具
通過 CSS 將其整合到您的網站中(見下文)
附帶 WordPress-pro 的 API
配備用於驗證連接設置的檢查清單

學分:

Barbary Jany - 測試很多並帶到有效的 XHTML
Frans Lieshout、Wim Scholtes - 翻譯成荷蘭語
Luís Reis - 翻譯成葡萄牙語
Håkan Carlström、Susanne Svensso - 翻譯成瑞典語
Gabriele von der Ohe - 翻譯成德語,採用實體(適用於 iso-8859-1 或 latin1 網誌)
Martin Loyer/Jean-Pierre - 翻譯成法語
Robert Lang - en_US 的語言文件
Detti Giulio/Stefano Boeri - 翻譯成義大利語
Eilif Nordseth - 翻譯成挪威語
Michael S.R. Petersen - 翻譯成丹麥語
Jaakko Kangosjärvi - 翻譯成芬蘭語
Lukasz “linshi” Linhard - 翻譯成波蘭語
Castmir & Alejandro - 翻譯成西班牙語
Tamas Koos - 翻譯成匈牙利語
Valeria Pellegrini - 翻譯成俄語
Valentina Boeri - 翻譯成羅馬尼亞語
Roland Geci - 翻譯成斯洛伐克語
Pavel Soukenik - 翻譯成捷克語
Pavel Karnaukhov - 翻譯成烏克蘭語
Zoran Maric - 翻譯成塞爾維亞語(拉丁文)
Petar Petrov - 翻譯成保加利亞語
Udi Burg - 翻譯成希伯來語
Uli Kozok - 翻譯成印度尼西亞語
Ali Zemani - 翻譯成波斯語
Amizda Idriz - 翻譯成波斯尼亞語 + Lovrenco Vladislavić - 翻譯成克羅地亞語

其他人給出有關功能缺失和錯誤的反饋。
非常感謝您對 wp-forecast 的貢獻。

翻譯

wp-forecast 附帶各種翻譯,位於目錄 lang。
如果您想添加新的翻譯,只需取 wp-forecast.pot 文件(在 wp-forecast 主目錄中),將其複製到 wp-forecast_-.po,並使用 poedit 編輯它添加您的翻譯即可。

外掛標籤

開發者團隊

⬇ 下載最新版 (v9.8) 或搜尋安裝

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

原文外掛簡介

You are reading the readme.txt file for the wp-forecast plugin.
wp-forecast is a plugin for the famous wordpress blogging package,
showing the weather-data from open-meteo.com and/or openweathermap.com.
please also refer to the terms of usage of open-meteo.com and/or openweathermap.com.
Features:

Displays the weather data from Open-Meteo.com and OpenWeatherMap.com
at your wordpress pages, posts or sidebar
Displays OpenUV.io data
Let you choose the

location (of course)
the time after the weather data is refreshed
the langugage
metric or american measures
windspeed unit
the forecast days
the forecast for up to six/seven days

support wordpress widgets, easy placement 🙂
customize the information you want to show
supports pull-down forecast data to efficiently use space
multiple wp-forecast widget support
integration into your site via css (see below)
comes with an api for wordpress-pro’s 😉

Credits:

Barbary Jany testing a lot and bring it to valid XHTML
Nike Gilhuijs,
Frans Lieshout, Wim Scholtes translation to dutch
Luís Reis translation to portugues
Håkan Carlström,
Susanne Svensso translation to swedish
Gabriele von der Ohe translation to german with entities (for iso-8859-1 or latin1 blogs)
Martin Loyer/Jean-Pierre translation to french
Robert Lang language file for en_US
Detti Giulio/Stefano Boeri translation to italian
Eilif Nordseth translation to norwegian
Michael S.R. Petersen translation to dansk
Jaakko Kangosjärvi translation to finish
Lukasz “linshi” Linhard translation to polish
Castmir & Alejandro translation to spanish
Tamas Koos translation to hungarian
Valeria Pellegrini translation to russian
Valentina Boeri translation to romanian
Roland Geci translation to slovak
Pavel Soukenik translation to czech
Pavel Karnaukhov translation to ukraine
Zoran Maric translation to serbian (latin)
Petar Petrov translation to bulgarian
Udi Burg translation to hebrew
Uli Kozok translation to indonesian
Ali Zemani translation to persian
Amizda Idriz translation to bosnian
Lovrenco Vladislavić translation to croatian
All the others giving feedback about missing features and bugs.
Thank you very much for your contribution to wp-forecast.

Weather Icon Font by me Erik FLowers Weather Icons licensed under SIL OFL 1.1
Installation:

Install via the WordPress plugin admin dialog (search for wp-forecast) or

Upload to your plugins folder, usually wp-content/plugins/, keeping
the directory structure intact (i.e. wp-forecast.php should end up
in wp-content/plugins/wp-forecast/).

Activate the plugin on the plugin screen.

Visit the configuration page (Options -> WP-forecast) to pick the
number of widgets, data to display and to change any other option.

Visit the Themes/Widgets page to place your wp-forecast widget within
your themes sidebars or insert it manually and edit your template
file and put the wp-forecast function where you want your weather
data to show up.
Example:

  • );
    } ?>

You have to replace with the choosen widget id.
For the first widget use wp_forecast(“A”), for the second
wp_forecast(“B”) and so on.
In most cases it is advisable to put the call into a div environment.

Optional
If you would like to have another set of icons download it
from http://accunet.accuweather.com/wx/accunet/graphics_icons.htm
and put it into the wp-content/plugins/wp-forecast/icons folder

Optional
If you would like to change the style, just edit wp-forecast.css
there are three classes div.wp-forecast for outer formatting,
table.wp-forecast for the middle part or iconpart and
wp-forecast-details for everything below the icon

Translations
wp-forecast comes with various translations, located in the directory lang.
if you would like to add a new translation, just take the file
wp-forecast.pot (in the wp-forecast main directory) copy it to
wp-forecast_-.po and edit it to add your translations
(e.g. with poedit).
Please be aware that the number codes stand for the weather-situations.
you can see the mapping in wp-forecast-en_US-en_US.po. there are also
the letters N, S, W, E they stand for the winddirections and can be
translates either.
To use your own translation, a different one as the default just rename the
appropriate file wp-forecast_-.po and
wp-forecast_-.mo
To add your translations online at the Translate WordPress project please visit
https://translate.wordpress.org/projects/wp-plugins/wp-forecast. This should be the prefered
way from now on.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon