
Weather Widget Pro – Weather Forecast Widget, Block & Shortcode (No API Key)
v2.1.2Hullcode 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日
截图






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)
- Edit a page, post or template and click +.
- Search for Weather Widget Pro and insert the block.
- Type your city, pick it from the list, and choose the options you want in the block sidebar.
Classic widget (classic themes)
- Go to Appearance > Widgets.
- Add Weather Widget Pro to a sidebar or footer.
- Type your city, pick it from the list, adjust the options and save.
Shortcode (anywhere, including page builders)
- Go to Settings > Weather Widget Pro.
- Pick your city and options, and click Copy.
- 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 topdesign–card(the sky card) orclassic; shortcodes without it keep the classic designunits–c(metric, default) orf(imperial)days–1to14, oroffto hide the forecast; default4today,now_icon,now_temp,now_humidity,now_wind,now_pressure,now_cloudiness,now_sunrise–on/offtemp,icon,rainchance,rain,wind– forecast columns,on/offtime_format–universal(24 h, default) orstandard(12 h)fontsize– in pixels; default15credit_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,flatorblend(transparent); ignored by the classic design - Sky card only:
description,feels_like,now_visibility,hourly,unit_switch,updated,animation–on/off layout–horizontal(default) orvertical; a horizontal sky card stacks automatically in narrow spaces- Classic design only:
backgroundcolor,textcolor,bordercolor,weathericonscolor(color,darkorlight),iconscolor(darkorlight),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