Display beautifully formatted global weather forecasts in any WordPress website.
Author: | srhelwig (profile at wordpress.org) |
WordPress version required: | 5.6 |
WordPress version tested: | 6.4.1 |
Plugin version: | 1.0.1 |
Added to WordPress repository: | 29-07-2020 |
Last updated: | 05-12-2023 |
Rating, %: | 100 |
Rated by: | 1 |
Plugin URI: | https://www.visualcrossing.com |
Total downloads: | 1 462 |
Active installs: | 70+ |
Click to start download |
This plugin allows you to display beautifully formatted Weather Forecasts using a simple shortcode. You can insert this shortcode anywhere in your WordPress post or page.
Weather by visualcrossing.com
The weather data is powered by Visual Crossing Weather.
Requires a free or paid key to access the data.
Once you have the API Key, you can save it in the WordPress admin panel under 'Settings' -> 'Weather Forecast Settings'
Shortcode
The plugin enabled a shortcode that allows you to display a weather forecast for any location worldwide:
[weather]
: display weather forecast using global settings.[weather loc="London, UK" days="4"]
: display weather forecast overriding global settings using parameters.
Shortcode parameters
- loc=” (String – Location or Address for which you want to fetch and display weather the forecast)
- days=7 (Number – Number of days for which you want to display weather forecast)
- mode=” (string (can be “simple” or “d3”) – Used to indicate the format in which to display the weather forecast)
- title=” (String – Text you want to display above the weather forecast widget. Used only in “simple” mode)
- showtitle=” (string (can be “Yes” or “No”) Used to Hide or display the title)
- unit=” (string (can be “US” or “Metric”) – Unit system in which to display the weather forecast)
- conditions=” (string (can be “Yes” or “No”) – Used to Hide or display condition details.)
Screenshots
ChangeLog