Elio Blocks brings the weather to the Block Editor the way WordPress would have built it: with blocks that look, feel and behave like the ones you already use every day.
Insert the Weather block, search for your location, and the live forecast shows up right in the editor. Publish, and see if the sun shines! ☀️
No coding required. No widgets, no shortcodes, no iframe either.
theme.json or the Styles of the Site Editor.Blocks are rendered on the server, so the weather is in the page from the first byte. Then the Interactivity API, the front-end framework of WordPress itself, keeps the data fresh in your visitors’ browsers without reloading the page. No jQuery, no heavy scripts: condition icons are shared across the page and forecast data is cached on your server.
Weather data and location search are provided by the Open-Meteo API. See the External services section below for what is sent to it and when.
The scripts and styles in the build folder of the plugin are compiled. Their human-readable sources (the src folder) and the configuration of the build tools are public on GitHub, where the plugin is developed: https://github.com/alexandrebuffet/elio-blocks
To build the plugin from its sources, with Node.js 22 and Composer:
git clone https://github.com/alexandrebuffet/elio-blocks.gitcd elio-blockscomposer installnpm installnpm run buildThe build uses @wordpress/scripts (webpack), the build tool of WordPress itself. See the README of the repository for every command.
This plugin relies on Open-Meteo, an open-source weather API, to get weather data and to find locations by name. The blocks cannot display any weather without it. Open-Meteo requires no account and no API key for non-commercial use.
All requests are sent by your WordPress server, through the plugin’s REST API. Visitors’ browsers never contact Open-Meteo directly, so their IP address is not sent to it. Each request carries your server’s IP address and a user agent naming the plugin, its version, your site’s URL and the WordPress version, as the default WordPress user agent does.
https://api.open-meteo.com/v1/forecast, or https://customer-api.open-meteo.com/v1/forecast once the API key of an Open-Meteo subscription is set in the plugin settings.https://geocoding-api.open-meteo.com/v1/searchThe free Open-Meteo API, which this plugin uses, is for non-commercial use only and has daily request limits. Commercial use requires a paid Open-Meteo subscription. Open-Meteo weather data is licensed under CC BY 4.0: credit Open-Meteo where its data is shown. The Provider Attribution block does it at the bottom of every Weather block, (“Weather data by Open-Meteo, licensed under CC BY 4.0”, both names linked): keep it, or credit Open-Meteo elsewhere on the page if you remove it.
The icons of the plugin were drawn for it. The layout illustrations of the Weather block variations include a sun from Tabler Icons, Copyright (c) 2020-2026 Paweł Kuna, released under the MIT License, which is compatible with the GPL.