[WordPress] 外掛分享: Visual Crossing Weather Forecast – Real-Time Weather & Forecast Widget

首頁外掛目錄 › Visual Crossing Weather Forecast – Real-Time Weather & Forecast Widget
WordPress 外掛 Visual Crossing Weather Forecast – Real-Time Weather & Forecast Widget 的封面圖片
50+
安裝啟用
★★★★★
5/5 分(1 則評價)
413 天前
最後更新
問題解決
WordPress 5.0+ PHP 7.4+ v1.0.2 上架:2020-07-28

內容簡介

這個外掛允許您使用簡單的 shortcode 顯示精美格式的天氣預報。您可以在 WordPress 文章或頁面的任何位置插入此 shortcode。

天氣預報由 visualcrossing.com 提供

天氣數據由 Visual Crossing Weather 提供動力支持。

需要免費或付費密鑰才能訪問數據。

Visual Crossing API 密鑰

設置 API 密鑰後,您可以在 WordPress 管理面板中保存它,位於'設置' -> '天氣預報設置'。

Shortcode

外掛啟用了一個 shortcode,允許您為全球任何位置顯示天氣預報:

[weather]:使用全局設置顯示天氣預報。
[weather loc="倫敦,英國" days="4"]:使用參數覆蓋全局設置顯示天氣預報。

Shortcode 參數

loc=”(字符串–要提取和顯示天氣預報的位置或地址)
days=7(數字–要顯示天氣預報的天數)
mode=”(字符串(可以是“簡單”或“d3”)–用於指示顯示天氣預報的格式)
title=”(字符串–要在天氣預報小工具上顯示的文本。僅在“簡單”模式下使用)
showtitle=”(字符串(可以是“Yes”或“No”)用於隱藏或顯示標題)
unit=”(字符串(可以是“US”或“Metric”)–顯示天氣預報的單位系統)
conditions=”(字符串(可以是“Yes”或“No”)–用於隱藏或顯示條件詳細信息。)

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Visual Crossing Weather Forecast – Real-Time Weather & Forecast Widget」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Display professional weather forecasts anywhere on your WordPress website with the Visual Crossing Weather Forecast plugin. Powered by the industry-leading Visual Crossing Weather API, this plugin delivers accurate, real-time weather data through beautifully designed widgets. Perfect for travel websites, event planners, local businesses, and news portals. Show detailed forecasts including temperature, precipitation, wind conditions, and more using simple shortcodes. Choose from multiple display styles, customize forecast periods, and select your preferred unit system. With global coverage, responsive design, and regular updates, give your visitors the weather information they need, exactly where they need it.
⭐ Key Features

Global Coverage: Display weather forecasts for any location worldwide
Multiple Display Modes: Choose between Simple and D3 visualization styles
Flexible Forecast Range: Show weather predictions from 1 to any number of days
Customizable Units: Switch between US and Metric measurements
Responsive Design: Beautiful on all devices and screen sizes
Easy Integration: Simple shortcode implementation
Fast Loading: Optimized for performance
Regular Updates: Continuous improvements and compatibility updates

🎯 Perfect For

Travel and Tourism Websites
Outdoor Event Planning
Local Business Sites
News and Information Portals
Sports and Recreation Venues
Educational Institutions
Weather-Dependent Businesses
Personal and Local Blogs

🔧 Professional Weather Data
Powered by Visual Crossing Weather API, trusted by developers and businesses worldwide for:
* Accurate weather forecasts
* Historical weather data
* Real-time conditions
* Global coverage
* Reliable API service
💡 Easy to Use Shortcodes
Basic Usage:
[weather]
Advanced Usage:
[weather loc=”London, UK” days=”4″ mode=”d3″ unit=”metric”]
🌟 Premium Features

Unlimited API calls
Priority support
Advanced weather metrics
Historical data access
Custom styling options

Shortcode Parameters
Basic Parameters

loc: Location or address (e.g., “New York, NY” or “London, UK”)
days: Number of forecast days (1-7, default: 7)
mode: Display mode (“simple” or “d3”, default: “simple”)
unit: Temperature unit (“US” or “metric”, default: “US”)

Advanced Parameters

title: Custom widget title (default: “Weather Forecast”)
showtitle: Show/hide title (“yes” or “no”, default: “yes”)
conditions: Show/hide detailed conditions (“yes” or “no”, default: “yes”)

Privacy Policy
This plugin connects to the Visual Crossing Weather API to fetch weather data. No personal data is collected or stored. For more information, visit Visual Crossing Privacy Policy.
Support

Documentation
API Support
Plugin Support Forum

延伸相關外掛

文章
Filter
Mastodon