The WPFolks app is out on iPhone and Android. Free, no ads. Download on the App Store Get it on Google Play
Skip to main content
Login Join
Free

4WP Weather

4WP Weather banner
Last updated
6 months ago
Version
2.0.0
Tested up to
WP 7.0.9

About this plugin

Show live weather on any page or template with a native Gutenberg block—no iframe embeds and no API keys in the browser.

4WP Weather fetches current conditions through WordPress (REST + server cache), stores your OpenWeatherMap key safely in the admin, and renders a clean widget you can style with block colors, typography, and spacing.

A plugin by 4wp.dev.

Perfect for

  • A sidebar or footer weather snippet with temperature, humidity, wind, and more
  • Landing pages that need local conditions without a third-party widget
  • Block themes and Full Site Editing layouts
  • Editors who want icon + text labels per field, editable inline in the block

How it works

  1. Install and activate 4WP Weather.
  2. Open 4WP Weather in the admin menu Providers, add your OpenWeatherMap API key, and save.
  3. Insert the 4WP Weather block in the editor.
  4. Pick a widget template (Small, Compact, or Advanced) and style (Dark or White).
  5. Choose which parameters to show and how each label appears (icon, icon + text, or text).
  6. Publish—the block loads data on the front end via your server.

Key features

  • Gutenberg block with block supports: background/text colors, typography, spacing, border, wide/full align
  • Widget templates — Small (location + temperature), Compact (core fields), Advanced (all nine parameters)
  • Per-field presentation — built-in weather icons, icon + text, text-only, or custom SVG from the Media Library
  • Editable labels — customize parameter names inline in the editor (Text and Icon + text modes)
  • OpenWeatherMap provider (live); additional providers registered for future releases
  • Visitor location — optional browser geolocation (automatic or button prompt) with coordinate fallback
  • Location search — optional city/place search on the front end
  • React admin — Providers, Settings (default template), and Documentation tabs
  • Server-side requests with transient cache; API key never exposed to visitors
  • Optional JSON-LD structured data (Observation) for SEO
  • Optional admin bar weather preview for administrators
  • WP-CLI: wp forwp-weather flush-cache

Privacy

The API key is stored as a WordPress option and is not exposed to front-end HTML or JavaScript. The block calls forwp-weather/v1/weather; PHP performs the remote request. See External services below.

4WP is our project brand; the letters “WP” appear only as part of that brand name, not as a reference to WordPress. This plugin is not affiliated with, endorsed, or sponsored by WordPress.

Source code: github.com/4wpdev/4wp-weather

External services

This plugin connects to the OpenWeatherMap Current Weather API to fetch conditions shown in the weather block, admin live preview, and optional JSON-LD.

When a visitor loads a page with the block (or when an administrator uses the live preview), WordPress sends a server-side HTTPS request to https://api.openweathermap.org/data/2.5/weather. The request includes:

  • Your stored API key (appid query parameter), configured in the admin.
  • Geographic coordinates (lat, lon) from block settings, browser geolocation when the visitor allows it, or a default location you configure.
  • Or a city name (q) when location search is used.

This plugin does not send visitor IP addresses in the API request. OpenWeatherMap may log requests according to their own policies. Responses are cached on your server (WordPress transients) to reduce repeat API calls.

This service is provided by OpenWeather Ltd. (OpenWeatherMap):

Analytics

Live from WordPress.org, refreshed daily. Last refresh Nov 27, 2026.

  • Passes every health check below.
3/3

Health checks

Everything a careful site owner looks at before installing.

  • Actively maintained Last release 6 months ago
  • Tested with current WordPress Tested up to 7.0.9
  • Support questions answered Nothing open in the last two months
  • Well rated No ratings yet
Active installs
Fewer than 10 WordPress.org rounds this down
This week
26 downloads +18% vs the week before
Last 30 days
85 downloads 2 a day, typically
All time
525 downloads On WordPress.org since 2026
Downloads per week Every update counts as a download on WordPress.org, so release weeks spike.
Latest week
26
Typical week
17
Peak
115 Week of Jun 5
View as table
WeekDownloads
Week of Nov 2026
Week of Nov 1322
Week of Nov 618
Week of Oct 3014
Week of Oct 2318
Week of Oct 1616
Week of Oct 916
Week of Oct 218
Week of Sep 2518
Week of Sep 1815
Week of Sep 1116
Week of Sep 415
Week of Aug 2817
Week of Aug 2115
Week of Aug 1417
Week of Aug 714
Week of Jul 3115
Week of Jul 249
Week of Jul 1717
Week of Jul 1023
Week of Jul 317
Week of Jun 2615
Week of Jun 1914
Week of Jun 1229
Week of Jun 5115
Where it stands Rank among the plugins WPFolks tracks every day.

Not ranked yet. Install, download and rating ranks cover the 5,000 most popular plugins on WordPress.org, and Trending needs about 100 downloads on a typical day.

Active installs over time Recorded by WPFolks every day since Oct 14, 2026.

Reviews

From folks on WPFolks

No reviews from folks yet. Used it? Be the first to say how it went.

Log in to leave a review

Proudly supported by