Weather Block
A comprehensive WordPress block for displaying weather information from OpenWeatherMap API.
by The WordPress Contributors · github.com/adamsilverstein/wp-weather-block-4
★ 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/adamsilverstein/wp-weather-block-4/archive/refs/heads/main.zipFrom the readme
Weather Block
A comprehensive WordPress block for displaying weather information from OpenWeatherMap API with customizable location, units, and display options.
Features
- 🌤️ Real-time Weather Data: Display current weather conditions from OpenWeatherMap API
- 🎨 Customizable Display: Choose between current weather and extended information modes
- 🌍 Global Support: Support for any location worldwide (city names, coordinates, etc.)
- 📏 Multiple Units: Temperature in Celsius, Fahrenheit, or Kelvin
- 🎯 Smart Caching: 15-minute caching to optimize API calls and performance
- ♿ Accessibility: Full ARIA support and keyboard navigation
- 🌓 Theme Integration: Automatic dark/light theme detection
- 📱 Responsive Design: Optimized for all screen sizes
- 🔧 Developer Friendly: RESTful API, hooks, and extensible architecture
- 🌐 Translation Ready: Full internationalization support
Requirements
- WordPress 6.7 or higher
- PHP 7.4 or higher
- OpenWeatherMap API key (free tier available)
Installation
From WordPress Plugin Directory (Recommended)
1. Go to Plugins Add New in your WordPress admin
2. Search for "Weather Block"
3. Click Install Now and then Activate
Manual Installation
1. Downloa