前言介紹
- 這款 WordPress 外掛「ICIT Weather Widget」是 2011-01-04 上架。
- 目前有 600 個安裝啟用數。
- 上一次更新是 2021-05-12,距離現在已有 1453 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 3.8.1 以上版本才可以安裝。
- 有 4 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
jackicit | spectacula | cm2creative | mim-mcneela | andywalmsley | sanchothefat | interconnectit |
外掛標籤
內容簡介
此外掛使用 OpenWeatherMap API 抓取天氣資料,並新增一個小工具,可將其放置在側邊欄中。它可以透過自訂做適合您主題的方式,而不會達到任何使用上限。
此小工具可進行以下設定:
API 金鑰:必須使用 API 金鑰才能從 OWM 獲取天氣數據;只要輸入一次,就會自動儲存並在未來的小工具中填入
國家:選擇要獲取天氣數據的國家(某些國家沒有平均天氣狀況的結果)
城市:輸入區域名稱以接收天氣結果;如果要使用城市 ID,请前往 OpenWeatherMaps City List。
顯示模式:可以選擇顯示目前天氣的精簡版或顯示當天和接下來三天的天氣預報。
顏色風格:可在兩種風格之間選擇顏色:
風格 1 - 主要顏色:目前天氣的背景色和預報的字體顏色,次要顏色:目前天氣的字體顏色和預報的背景色。
風格 2 - 主要顏色:兩個區段的字體顏色,次要顏色:兩個區段的背景色。
日間主要顏色:使用色彩選取器選擇白天時所需的主要顏色。
夜间主要颜色:使用色彩選取器選擇夜間所需的主要颜色。
日間次要顏色:使用色彩選取器選擇白天時所需的次要顏色。
夜間次要颜色:使用色彩選取器選擇夜間所需的次要颜色。
以攝氏度顯示溫度:將溫度顯示更改為攝氏度而非華氏度。
顯示天氣狀況細節:選擇是否顯示風速、濕度和文字天氣狀況以及溫度和天氣圖標。
以mph顯示風速:將風速顯示更改為英文里每小時而非公里每小時。
快取時間:這是插件在刷新預報數據前的間隔(以分鐘為單位)。
輸出 CSS:切換小工具是否應該輸出其自己的 CSS。
顯示信用鏈接:此外掛完全免費提供。如果您感到友善,請留下此項,以增加我們的網路流量 🙂
您可以透過填入小工具標題文字,覆蓋顯示位置的內容。
詳細使用縮寫的資訊,請參閱常見問題。
已知問題
多個縮寫不會同時在同一篇文章中運作,因為數據是基於小工具 ID 顯示在小工具空間或文章 ID 中使用縮寫時儲存的。
已新增縮短屬性,可讓您向縮寫添加唯一的 ID,以便存儲數據可允許每篇文章多個縮寫。
此小工具應在所有主題中運作,雖然有些主題的樣式會與小工具混合,留下一些看似不適當的部分。
IE7 不支持我們用於天氣顯示的圖示。
可在 IE8+、Chrome、Firefox、Opera 和 Safari 中運作。
原文外掛簡介
Weather information is pulled from the OpenWeatherMap API. This plugin adds a widget that can be dropped into any sidebar, can be customised to suit your theme and won’t hit any usage limits.
The widget can be configured as follows:
API key – required to get weather data from OWM, once entered it will be saved and auto filled in future widgets
Country – choose the country to get weather data from. (Some countries do not have an average result for weather conditions)
City – Enter the name of your area to recieve the weather results. If you want to use City ID, go to OpenWeatherMaps City List.
Display Mode – you can choose to show either a compact view of the current weather or show the forecast for the current day and next three days.
Colour Style – Choose between two styles of colouring:
Style 1 – Primary colour: Background colour of current weather and font colour of forecast, Secondary colour: Font colour of current weather and background colour of forecast.
Style 2 – Primary colour: Font colour for both sections, Secondary colour: background colour of both sections.
Primary colour during day – use the colour picker to choose what primary colour you want during the day time.
Primary colour during night – use the colour picker to choose what priamry colour you want during the night time.
Secondary colour during day – use the colour picker to choose what secondary colour you want during the day time.
Secondary colour during night – use the colour picker to choose what secondary colour you want during the night time.
Show Temperature in Celsius – sets the temperature display to degrees celsius rather than farenheit.
Show weather breakdown – choose whether to display the wind, humidity and written weather condition, as well as the temperature and weather icon.
Show Wind Speed in mph – sets the wind speed display to mph rather than km/h.
Cache Time – this is the interval in minutes before the plugin refreshes the forecast data.
Output CSS – toggle whether the widget should output it’s own CSS.
Show Credit Link – this plugin is offered completely free of charge. If you’re feeling kind please leave this in to send some delicious web traffic our way 🙂
You can override what gets displayed for the location by filling in the widget’s title text.
For info on how to use the shortcode, check the FAQs.
Known problems
Multiple shortcodes do not work if they are in the same post, as the data is stored based on the widget ID if displayed in a widget space or the post ID if using the shortcode.
A new shortcode attribute has been added allowing you to add a unique ID to your shortcode which will be used to store data allowing multiple shortcodes per post.
This widget should work in all themes, although some themes styling will mix with the widget leaving bits that look out of place.
IE7 does not support the icons we use for the weather display.
Works in IE8+, Chrome, Firefox, Opera, and Safari.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「ICIT Weather Widget」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
2.0 | 2.1 | 2.2 | 2.3 | 2.4 | 2.5 | 1.0.1 | 1.0.2 | 1.0.3 | 1.0.4 | 1.0.5 | 2.1.1 | 2.2.1 | 2.3.1 | 2.3.2 | 2.3.3 | 2.4.1 | 2.4.2 | 2.4.3 | 2.4.4 | 2.4.5 | 2.5.1 | 2.5.2 | 2.5.3 | 2.5.4 | trunk |
延伸相關外掛(你可能也想知道)
Widgets for Google Reviews 》onal version of our review software, you can:, , , Display unlimited Google Reviews, Customize widget design and behavior, Respond to reviews direc...。
Blocksy Companion 》Blocksy Companion 是一個外掛,將 Blocksy 主題轉化為強大的瑞士軍刀工具。, 只有在安裝並啟用 Blocksy 主題時,它才會運行並添加增強功能。, 最小需求, , W...。
Black Studio TinyMCE Widget 》此外掛添加了一個新的 Visual Editor 小工具類型,讓您能夠在側邊欄中輕鬆地插入豐富的文字和媒體對象。使用 Black Studio TinyMCE Widget 時,您將能夠使用W...。
Widget Importer & Exporter 》Widget Importer & Exporter 是一個有用的外掛,可將小工具從一個WordPress站點移動到另一個站點,備份小工具,並供主題開發人員為用戶提供範例小工具。...。
Orbit Fox by ThemeIsle 》透過Orbit Fox,您可以使用各種模組擴充您的主題功能,例如社交媒體分享按鈕和圖示、自訂選單圖示、頁首和頁尾腳本、一鍵導入頁面模板、頁面建構器附加元件和...。
Recent Posts Widget With Thumbnails 》列出最新的文章標題、縮略圖、摘要、作者、類別、日期等等!, 雖然此外掛僅建立在小工具區域,但使用者報告說它在 Elementor 和 Oxygen 上運作順暢。但它是否...。
WordPress Popular Posts 》WordPress Popular Posts 是一個高度可定製的小工具,可以顯示您最受歡迎的文章。, 主要特點, , 多小工具功能 – 您可以在您的博客上擁有多個 WordPress...。
Widget Logic 》此外掛可在每個小工具中新增一個名為 "Widget logic" 的額外控制欄,讓您控制這個小工具會出現在哪些頁面上。文字欄位允許您使用 WP 的Conditional Tags或任...。
Social Media Share Buttons & Social Sharing Icons 》在你的免費測試網站上試試看:點擊此處 => https://tastewp.com/plugins/ultimate-social-media-icons, (這個技巧適用於所有外掛 – 只需在外掛的 WP 存儲庫 ...。
Fixed Widget and Sticky Elements for WordPress 》使用 Fixed Widget 外掛可以創建黏貼式的小部件、區塊和其他元素,當用戶向上或向下滾動頁面時,它們會保持在可見的屏幕區域內。, 相較於非固定小工具,黏貼...。
PHP Code Widget 》普通的文字小工具允許您插入任意文字和/或 HTML 代碼。這個外掛程式也允許這樣做,但還會解析文本小工具中的任何 PHP 代碼並執行它。, 這可以讓您更輕鬆地遷...。
Image Widget 》Image Widget 是一個簡單的外掛程式,利用 WordPress 原生媒體管理員,為您的網站新增圖片小工具。, 需要新增幻燈片、燈箱或隨機圖像嗎?, 請查看 Image Widg...。
Custom Sidebars – Dynamic Sidebar Classic Widget Area Manager 》使用 Custom Sidebars,一個靈活的小工具管理器,在您的網站上管理和替換側邊欄和其他小工具區。, 製作自訂側邊欄配置,能夠選擇在您網站的每個頁面或文章上...。
Recent Posts Widget Extended 》外掛描述, 此外掛可以啟用自定義、靈活且進階的最新文章功能,您可以透過簡碼或小工具來顯示它。您可以顯示具有縮略圖、摘要和發佈日期的最新文章清單,並且...。
Widget Shortcode 》這個短碼需要小工具的ID,但不需要猜測,外掛會為你生成代碼。如果你想要覆蓋小工具的標題,你可以使用 "title" 參數:, [widget id=”text-1″...。