Appearance
Weather Widget
The Weather widget displays current weather conditions and forecasts for any location. Perfect for travel sites, local directories, or event pages where weather information adds value.
Overview
Show real-time weather data including temperature, conditions, humidity, and wind speed. Choose between current conditions only or multi-day forecasts. The widget uses the OpenWeatherMap API for accurate weather data.
Key Features
- Current weather conditions
- 3-day or 5-day forecast options
- Temperature in Celsius or Fahrenheit
- Weather condition icons
- Humidity and wind data
- Location by coordinates or dynamic tag
- Customizable styling

Setup Instructions
Step 1: Get OpenWeatherMap API Key
- Go to OpenWeatherMap
- Create a free account
- Navigate to API Keys in your account
- Copy your API key
Step 2: Enable the Widget
- Navigate to Voxel Toolkit → Widgets in your WordPress admin
- Find Weather in the list
- Toggle the switch to enable the widget
- Click Save Changes
Step 3: Add to Template
- Edit your page or template in Elementor
- Search for Weather (VT)
- Drag the widget to your layout
- Enter your API key and configure settings
- Save the template
Widget Settings
Weather Settings
| Setting | Description | Default |
|---|---|---|
| Latitude | Location latitude coordinate | 40.7128 (New York) |
| Longitude | Location longitude coordinate | -74.0060 (New York) |
| API Key | Your OpenWeatherMap API key | None |
| View Type | Current, 3-Day, or 5-Day forecast | Current Weather |
| Temperature Unit | Celsius or Fahrenheit | Celsius |
Dynamic Location
Use Voxel dynamic tags for the latitude and longitude to show weather for listing locations:
Latitude: @post(location.lat)
Longitude: @post(location.lng)View Types
Current Weather
Shows current conditions including:
- Temperature
- Weather condition (sunny, cloudy, rain, etc.)
- Weather icon
- Humidity percentage
- Wind speed
3-Day Forecast
Shows current weather plus the next 3 days with high/low temperatures and conditions.
5-Day Forecast
Extended forecast showing 5 days of weather predictions.
Use Cases
Travel Listings
Show weather for vacation rental or hotel locations to help guests plan.
Event Pages
Display weather forecast for outdoor event venues.
Local Directories
Show local weather on business listing pages.
Activity Listings
Display weather for outdoor activity locations like hiking trails or beaches.
Troubleshooting
Weather Not Loading
- Verify your API key is correct
- Check that coordinates are valid
- Ensure API key is active (new keys may take a few hours)
- Check browser console for API errors
Wrong Location
- Verify latitude and longitude are correct
- Remember: latitude is -90 to 90, longitude is -180 to 180
- Use Google Maps to find exact coordinates
API Rate Limits
- Free tier has limited requests per day
- Use caching to reduce API calls
- Consider paid plan for high-traffic sites

