跳到内容

Weather Widget Pro – Weather Forecast Widget, Block & Shortcode (No API Key)

v2.1.2

Hullcode Systems S.L. · 2023年1月17日 上架

Free weather widget, block and shortcode: current conditions and a 14-day forecast for 200,000 cities. No API key, no sign-up.

正在使用
1,000+
评分
3.9 / 5
累计下载
2.6 万
最近更新
2026年11月20日
8 条评价需要 WordPress 5.3+已测试到 7.1.5PHP 5.6+

截图

The sky card, vertical or horizontal: current weather, the next hours and the days ahead. Its sky changes with the weather.
The sky card, vertical or horizontal: current weather, the next hours and the days ahead. Its sky changes with the weather.
Five styles to fit any site: Sky, Dark, Full sky, Flat and Transparent.
Five styles to fit any site: Sky, Dark, Full sky, Flat and Transparent.
The sky tells the weather: sun, rain, snow, a sunset and a clear night.
The sky tells the weather: sun, rain, snow, a sunset and a clear night.
The Weather Widget Pro block in the editor, with the city search and its settings.
The Weather Widget Pro block in the editor, with the city search and its settings.
Settings > Weather Widget Pro writes the shortcode for you, with a live preview.
Settings > Weather Widget Pro writes the shortcode for you, with a live preview.
The classic design, with your own colors, still looks as it always did next to the sky card.
The classic design, with your own colors, still looks as it always did next to the sky card.

Weather Widget Pro shows the current weather and a forecast of up to 14 days for any of 200,000 cities, anywhere on your site. It is free, there is no paid version, and it works out of the box: no API key, no account, nothing to configure.

Pick a city with the built-in search, choose what to show, and you are done.

What you get

  • Sky card design (new in 2.0): a card whose sky changes with the weather. Rain falls, snow drifts, stars come out at night, and dawn and dusk have their own light. Vertical for sidebars or horizontal for wide spaces: the horizontal card stacks automatically where space is tight.
  • Five styles for the sky card, to fit your theme: Sky (white card), Dark (for dark sites), Full sky (the whole card takes the color of the weather), Flat (a plain bordered box, no shadow) and Transparent (no box: it takes your theme’s text color, on light or dark backgrounds).
  • 47 weather icons: five degrees of cloudiness, three intensities of rain and snow, drizzle, sleet, storms, fog, haze and more, by day and by night.
  • Current conditions: temperature, the weather in words, feels-like temperature, humidity, wind and gusts, pressure, cloudiness, visibility, sunrise and sunset.
  • Hourly forecast and a daily forecast for up to 14 days: high and low temperature, chance of rain, rainfall and wind.
  • 200,000 cities worldwide, found with a search box as you type.
  • No API key and no registration. The weather service is provided free of charge by the plugin authors.
  • Three ways to add it: a block for the block editor, a classic widget for sidebars and footers, and the [weather_pro] shortcode for any page, post or page builder.
  • Celsius or Fahrenheit, km/h or mph, 24-hour or 12-hour clock. Optionally, let your visitors switch units themselves.
  • The classic design is still here: horizontal or vertical layout, your own background, text and border colors, font size, color or single-color icons.
  • Show or hide every element, one by one.
  • Light on your site: one small script without jQuery, weather data kept on your site for 30 minutes and written into the page, and the last good data shown if the weather service cannot be reached.
  • Responsive and compatible with any theme, classic or block-based. Works on multisite.
  • In 36 languages, with regional variants: your visitors see the days, the weather and the labels in the language of your site.

Quick start

Block editor (any theme)

  1. Edit a page, post or template and click +.
  2. Search for Weather Widget Pro and insert the block.
  3. Type your city, pick it from the list, and choose the options you want in the block sidebar.

Classic widget (classic themes)

  1. Go to Appearance > Widgets.
  2. Add Weather Widget Pro to a sidebar or footer.
  3. Type your city, pick it from the list, adjust the options and save.

Shortcode (anywhere, including page builders)

  1. Go to Settings > Weather Widget Pro.
  2. Pick your city and options, and click Copy.
  3. Paste it into any page, post, text widget or shortcode element.

A minimal shortcode looks like this:

[weather_pro cityid="86168" city="New York City" design="card" units="f" days="5"]

Shortcode attributes

  • cityid – the city (use the generator in Settings > Weather Widget Pro to find it)
  • city, title – the name shown at the top
  • design – card (the sky card) or classic; shortcodes without it keep the classic design
  • units – c (metric, default) or f (imperial)
  • days – 1 to 14, or off to hide the forecast; default 4
  • today, now_icon, now_temp, now_humidity, now_wind, now_pressure, now_cloudiness, now_sunrise – on / off
  • temp, icon, rainchance, rain, wind – forecast columns, on / off
  • time_format – universal (24 h, default) or standard (12 h)
  • fontsize – in pixels; default 15
  • credit_link – on (default) / off: the small link to the weather service (its logo) under the widget
  • Sky card only: theme – the style: sky (default), dark, full, flat or blend (transparent); ignored by the classic design
  • Sky card only: description, feels_like, now_visibility, hourly, unit_switch, updated, animation – on / off
  • layout – horizontal (default) or vertical; a horizontal sky card stacks automatically in narrow spaces
  • Classic design only: backgroundcolor, textcolor, bordercolor, weathericonscolor (color, dark or light), iconscolor (dark or light), shadow (on / off)

External services

This plugin connects to the weather service at https://eltiempoen.com/api/weather, run by the plugin authors (eltiempoen.com and weatherin.org) and delivered through Cloudflare. It is needed to search for cities and to get the weather; without it the plugin shows nothing.

  • When you search for a city in the settings (widget, block or shortcode generator), your browser sends the text you type to the service. As with any request, the service sees your IP address and the address of the admin page you are on.
  • When a page with a weather widget is viewed, your site’s server asks for the weather, normally once every 30 minutes per city. It sends the ID of the city, the address of your site and the version of the plugin. The request carries the standard User-Agent of WordPress, which includes the WordPress version and the address of your site. As with any request, the service sees the IP address of your server.

Your visitors’ browsers never contact the weather service: everything goes through your site’s server.

The plugin sets no cookies and sends no data about your visitors. If you let visitors switch between °C and °F, their choice is saved in their own browser (local storage) and is never sent anywhere. To keep the service free and prevent abuse, the service keeps the address of each site that uses it, its plugin version and how many requests it makes.

Privacy policy: https://weatherin.org/privacy-policy (English) and https://eltiempoen.com/politica-de-privacidad (Spanish). Legal notice: https://weatherin.org/legal-notice

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums