DP Weather
Demo plugin demonstrating competency which displays weather data from a public API into a block.
★ 0stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/dp-harrison/dp-weather/archive/refs/heads/main.zipDP Weather
WordPress block that shows a multi-day weather forecast using the Open-Meteo API.
Features
- Gutenberg block: DP Weather (block names
dp/weatheranddp-weather/weather) - Configurable location (name + lat/lon), units (°C / °F), and number of forecast days (1–14)
- Daily cards with weather emoji, high/low temps, and “Now” for today
- No API key required
Installation
- Upload the
dp-weatherfolder towp-content/plugins/. - Activate DP Weather in the WordPress admin.
- Add the block via the block editor (search for “DP Weather”).
Block settings (sidebar)
- Location name – Label shown above the forecast (e.g. “London, UK”).
- Latitude / Longitude – Coordinates for the forecast.
- Units – Metric (°C) or Imperial (°F).
- Number of days – 1–14 days (controls how many cards/columns are shown).
Requirements
- WordPress 5.5+
- PHP 7.4+
License
Proprietary – Dont Panic Projects.