Weather by ZIP or City

Current conditions and a forecast for any ZIP code or city, as a block, a widget or a shortcode. No API key needed.

v1.1.0

What it does

ZIP or city

Either works, and the ZIP lookup resolves the location locally.

Block, widget or shortcode

Whichever fits how your site is built.

Forecast

Current conditions plus three, five or seven days.

Auto-locate

Optionally use the visitor's own location instead of a fixed one.

Cached

Sensible cache windows so traffic does not become a request storm.

Styled to your theme

Inherits your colours rather than imposing its own.

Local businesses, churches, schools and event sites all want the same small thing on the page: what is the weather doing here.

Drop in a block, a widget or a shortcode, give it a ZIP code or a city, and it shows current conditions plus a multi-day forecast. It uses open weather data, so there is no API key to obtain and no per-call cost — and it caches, so a busy page does not turn into a stream of outbound requests.

Specifications

RequiresWordPress 6.0+, PHP 7.4+
DataOpen weather sources, no key required
UnitsFahrenheit or Celsius
Cache30 minutes by default, configurable

Questions about this product

Does it work outside the US?

City lookup does, worldwide. ZIP lookup is US-only for now.

Leave a comment

Your email address will not be published. Required fields are marked *

Release notes, once a month

New products, major updates and the occasional deep-dive. No spam, unsubscribe in one click.