Do you want weather forecast to be featured on your WordPress site? Some owners may want to feature it to keep their users in the know about weather status for their locations. Here, we are going to explain exactly how to show weather forecast easily.
Who and Why to Add Weather Forecast to WordPress?
Not all websites can display weather forecast to the visitors. There are different industries which depend on people who make decisions on the basis of weather information, such as events, travel, hotel, B&B and several others in the tourism and hospitality industry.
For your travel website, there are many WordPress plugins to pull your weather forecast and to display it delightfully on your site. Simply use a WordPress plugin which is clutter-free, fast, and doesn’t add any link to third party services.
To be clear, read on to know how to show weather forecast easily in your WordPress pages, posts, or sidebar widget.
Steps to Add Weather Forecast in WordPress
First of all, you just have to install and activate the plugin WP Cloudy. To know how to keep your plugin updated via FTP, see our step by step guide.
WP Cloudy doesn’t need API key to work. But you still need to create an API Key “OpenWeatherMap” to skip timeouts. Simply go to OpenWeatherMap portal and sign up.
Visit your profile page and click on API Keys. It will ask you to enter the names of API keys and click on “Generate” option. Now Open Weather Map will generate API key to copy and use.
Now go to Settings > WP Cloudy in admin area and click “Advanced”. Here, you will have to scroll down to the option “Open Weather Map API KEY”. Paste the API key copied by you.
Click on save changes to store settings. Now you are all set to create weather reports. Visit “Weather > Add New” page and create the weather report.
Now enter state, city, and country name and switch to “Display” tab. Here, you will configure various settings for display. Here, you can remove or add information that you would like to show and configure the days to show in weather forecast.
Once you are done, click “Publish” button to save weather report and copy shortcode. Now this shortcode can be added to any WordPress page or post. It can also be added to a sidebar widget.
Thereafter, you can see your website and look for the weather forecast running successfully. We hope you’ve liked this article and learned how to display weather report in your WordPress site, posts, sidebar widgets or pages.
There are many WordPress plugins for your WordPress gallery. But we have shortlisted the ones which have added all the appealing features you would like to have on your travel and hotel website. You may also want to check out our list of Background and Video Gallery WordPress plugins.