Description
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.
- English and Spanish, translation-ready.
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
Installation
- In your dashboard, go to Plugins > Add New, search for Weather Widget Pro and click Install Now, then Activate.
- Follow the Quick start above: add the block, the classic widget or the shortcode. Settings > Weather Widget Pro explains the three.
No API key or account is needed.
FAQ
I activated the plugin. Where are the settings?
The settings belong to each weather widget, so they appear where you add it. In the block editor, insert the Weather Widget Pro block and use the block sidebar. In a classic theme, go to Appearance > Widgets. To build a shortcode, go to Settings > Weather Widget Pro.
My theme has no “Appearance > Widgets” menu. What do I do?
Block themes (such as Twenty Twenty-Two and the default themes after it) do not have widget areas. Use the Weather Widget Pro block in the Site Editor or in any page, or paste the shortcode into a Shortcode block.
Do I need an API key or an account?
No. The plugin gets its data from a weather service run by the plugin authors (eltiempoen.com and weatherin.org) and it is free to use. See “External services” below for what is sent.
I updated from an older version. Will my widgets change?
No. Widgets and shortcodes you already have keep the classic design and their settings. The sky card is the default only for the widgets and blocks you add from now on; to switch an existing widget, choose Design > Sky card in its settings, or add design="card" to its shortcode.
The widget shows New York instead of my city. Why?
The city must be picked from the suggestions that appear while you type, not just typed in. Start typing, click your city in the list, then save. If no suggestions appear, check that your browser or a security plugin is not blocking requests to eltiempoen.com.
Can I show only the temperature, or only the current weather?
Yes. Every element can be switched off. For the current weather alone, hide the forecast with days="off".
Can I show several cities on the same page?
Yes. Add as many blocks, widgets or shortcodes as you like, each with its own city and design.
How often is the weather updated? Will it slow down my site?
Your site asks the service about once every 30 minutes per city and keeps the answer (after a failed request it tries again a few minutes later). When it has it, the data is written into the page and the widget needs no extra request. If the service cannot be reached, the last good data is shown.
Is there a limit on requests?
Yes. The weather service answers each website up to 10 requests a minute, and each server up to 120 a minute (the sites of a shared hosting share that one). You will not reach it in normal use: the plugin keeps the forecast of each city on your site for a while and asks the service at most 8 times a minute, however many visitors or widgets you have (pages kept in a cache from before version 2.0, at most 50 times an hour). If it ever reaches the limit, the widget shows the last forecast it saved and asks again a little later (usually within a minute).
The service is free for everyone thanks to these limits. A site that abuses it, for example by calling it outside the plugin, by automated requests or by trying to get around the limits, may be limited or blocked.
Is it translated into my language?
It comes in English and Spanish. You can help with other languages at translate.wordpress.org.
Screenshots






Changelog
2.1.0
- New: five styles for the sky card, in the widget, the block and the shortcode generator (
theme): Sky (as before), Dark, Full sky, Flat and Transparent, which takes the text color of your theme and works on light and dark backgrounds. - Widgets, blocks and shortcodes you already have keep the Sky style and look exactly as before.
- Fixed: some texts of the block sidebar showed in English on sites with an older translation from translate.wordpress.org.
- Security: the colors and the font size of the classic design are checked before they reach the page.
- Fixed: pages kept in a cache from before 2.0 now follow the same request limits as the rest, within at most 50 requests an hour; the shortcode generator keeps quotes, brackets and “<” in titles; the widget form has the “Rain” (rainfall) option of the forecast.
2.0.4
- New: the small link under the widget is now the logo of the weather service, and it can be switched off in the widget, the block and the shortcode generator (
credit_link="off"). - Fixed: in Spanish (and any language with an older translation on translate.wordpress.org), most of the plugin showed in English: the translations of the plugin now come first.
- Improved: every variety of Spanish gets its translation: Spain, or the Americas for the rest (before, only the countries with their own file).
2.0.3
- New: Settings > Weather Widget Pro writes the shortcode with every option of the widget, with a live preview.
- Improved: the widget form shows only the options of the chosen design, and the layout goes with the design (in the block too), since it changes the whole widget.
- Improved: the sky card shows where the wind blows, now and in the daily forecast.
- Improved: the columns of the daily forecast of the sky card keep the same distance between them, and a column switched off leaves no gap.
- Improved: in the sky card, a day without rain shows 0% and 0 mm, toned down, instead of a blank.
- Improved: a new widget or block shows humidity, wind and pressure, which fit on one line of the sky card. Saved widgets and blocks keep theirs.
- Fixed: a sky card without the current conditions no longer leaves an empty sky; the name of the place goes on a plain line.
2.0.2
- Fixed: in Appearance > Widgets (block-based screen), the design and the new options of a widget were not saved.
- Fixed: on PHP 8, the form of a widget with the forecast disabled showed “14 days” selected.
- Fixed: the sky card no longer overflows narrow grid or flex columns, and the horizontal card no longer cuts the daily high.
- Improved: sky cards placed one after another keep a space between them.
- Improved: pages kept in a cache from before 2.0 show the last good data when the weather service cannot be reached.
- Changed: the widget form no longer shows a shortcode; Settings > Weather Widget Pro writes it for you.
2.0.1
- Fixed: the preview of the block stayed empty in the editor of the latest WordPress versions.
2.0.0
- New: the sky card design. Its sky changes with the weather (rain, snow, clouds, stars, dawn and dusk), with 47 weather icons, vertical or horizontal.
- New: the weather in words, feels-like temperature, gusts, visibility and an hourly forecast for the next few hours.
- New: visitors can switch between °C and °F (optional).
- New: a block for the block editor, with the city search in its sidebar (WordPress 5.3 or later).
- New: Settings > Weather Widget Pro explains how to add the weather and writes the shortcode for you.
- Improved: when the weather service cannot be reached, the widget shows the last good data instead of staying empty.
- Improved: the visitor’s browser no longer contacts the weather service; only your site’s server does.
- Improved: fewer requests. The data your site already has is written into the page, and widgets of the same city share one request.
- Improved: the styles load in the head of the page, so the widget no longer jumps when it appears.
- Improved: texts for screen readers follow your site language.
- Fixed: notices on PHP 8 when saving a widget, and
units="C"showing Fahrenheit. - Existing widgets and shortcodes keep their design and settings.
1.1.42
- Fixed: the city search of the widget settings works again (the service moved to the standard HTTPS port).
- Fixed: when the site cannot get the weather, the visitor’s browser now asks the service directly, also after an HTTP error.
- Fixed: a shortcode without attributes no longer fails on PHP 8.
- Improved: the connection to the service is verified (SSL), and a failed request is not repeated for a minute.
