[WordPress] 外掛分享: HD Weather Widget by The Waypoint

WordPress 外掛 HD Weather Widget by The Waypoint 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「HD Weather Widget by The Waypoint」是 2013-05-06 上架。
  • 目前有 10 個安裝啟用數。
  • 上一次更新是 2025-10-24,距離現在已有 126 天。
  • 外掛最低要求 WordPress 5.0 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 7.4 以上。
  • 有 4 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

johngrefe |

外掛標籤

hd | widget | weather | forecast | openweathermap |

內容簡介

開發:John Grefe - Twitter Google +
設計:James Steward - Twitter Google +

團隊: The Waypoint - http://consultants.thewaypoint.com

此外掛使用 HD 331dpi 圖片,以美麗的響應式圓形,顯示您位置的天氣。此套件中已包含圖片。

此外掛剖析 openweather API 的資料以顯示資訊。背景 HD 圖片會根據外部的“狀況”(最好稱為“感覺”)而更改。初始版本提供了一種感覺。使用文檔將 API 狀態語句與文件名成對應。通過 CSS 載入圖像,因此它們不會干擾站點中的分層對象。

使用內置小工具或使用以下簡碼添加到其他地方:(顯示最佳設置)

[waypoint-weather location="Long Beach" units="F" size="tall" override_title="MTL" forecast_days=hide hide_stats=false]

"嘿,伙計!我完全採用公制並且這個外掛在後端不起作用。"

哈哈哈,簡碼正在破壞建置。您應該這樣做。

[waypoint-weather location="Oslow" units="C" size="tall" override_title="The Waypoint" forecast_days=hide hide_stats=false]

設置:

位置:輸入 Long Beach、CA 或 Los Angeles 等。您可能需要嘗試不同的變化來獲得正確的城市。不要使用郵遞區號,API 不支援。
單位:F(默認)或 C
尺寸:寬(默認)或高,您應該使用高,女孩子喜歡高個子,這種風格也是。
覆蓋標題:將標題欄中的標題更改為任何內容,有時該插件會提取附近城市的天氣。
預測天數:不要使用此項除非您想讓插件變得難看。
隱藏統計資料:隱藏文本統計資料(如濕度、風、高低溫等)。
背景:您可能不希望使用此項,因為您希望 CSS 載入動態圖片。

所有天氣資料都由 http://openweathermap.org 提供,並被快取一小時。

版本紀錄
1.0

使用 repo 中的所有圖片更新,現在應該可以從 wp-admin 部分進行鏈式安裝,否則,最好以 ZIP 上傳。它是個怪獸 ~26mg。

.1

用於測試的第一個版本。

查閱外掛執行時所顯示的條件代碼,例如「Clear Skys」,然後更改文件名稱為該代碼,例如「800.png」。http://bugs.openweathermap.org/projects/api/wiki/Weather_Condition_Codes

作者 Ship Slug

https://plus.google.com/113242995329771585932?rel=author

請 Fork this!'[email protected]:johngrefe/waypoint-hd-weather-widget.git'(真實程式碼在 Github 上托管,誰知道,您很可能會找到更好的建置模式!)

原文外掛簡介

HD Weather Widget displays current weather conditions and multi-day forecasts with stunning high-definition backgrounds. Perfect for blogs, news sites, and local business websites.
Features:

HD Quality: 331dpi weather condition backgrounds (48 unique conditions)
5-Day Forecast: Configurable forecast display (1-5 days or hide)
Current Conditions: Temperature, humidity, wind speed and direction
Multiple Locations: Unlimited widgets for different cities
Modern API: OpenWeatherMap v2.5 with HTTPS security
Responsive Design: Works beautifully on all screen sizes
WebP Optimized: 92% smaller images with PNG fallback
Shortcode Support: Easy integration into posts and pages
Widget Ready: Drag-and-drop sidebar widget included
Highly Cached: 30-minute cache for optimal performance

Modernized for 2025:
This plugin has been completely modernized with:
* PHP 8.2 compatibility
* WordPress 6.6.1 compatibility
* WebP image optimization (24 MB → 1.8 MB)
* Security hardening (output escaping, nonces, HTTPS)
* User-friendly error messages
* Comprehensive admin documentation
Easy Setup:

Get a free API key from OpenWeatherMap
Enter your API key in Settings → HD Weather Widget
Use the shortcode generator or widget panel
Copy and paste the shortcode into any post or page

Credits

Original Plugin: John Grefe, James Steward – The Waypoint (2013)
Based On: Awesome Weather Widget by Hal Gatewood
Modernization: John Grefe & Evaline Grefe
Weather Data: OpenWeatherMap API
Weather Icons: HD backgrounds by The Waypoint

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「HD Weather Widget by The Waypoint」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.0 | 1.1.0 | 1.2.0 | trunk |

延伸相關外掛(你可能也想知道)

文章
Filter
Apply Filters
Mastodon