Beginner's Guide for WordPress - Start your WordPress Blog in minutes.
Choosing the Best
WordPress Hosting
How to Easily
Install WordPress
Recommended
WordPress Plugins
View all Guides

How to Show Weather Forecast in Your WordPress

Last updated on by
Special WordPress Hosting offer for WPBeginner Readers
How to Show Weather Forecast in Your WordPress

Recently one of our users asked us if there was an easy way for her to display local weather on her blog. After doing some research, we found that there were tons of plugins available that will let you display weather forecast in WordPress. In this article, we will share two plugins that will let you show daily weather forecast in your WordPress blog.

WP Google Weather

The reason why we picked this plugin was its ease of installation. Unlike many other plugins, this plugin does not require you to signup with a third-party service to get an API. Also, this plugin does not require any link backs on the front end.

All you have to do is install and activate WP Google Weather. Then go to Appearance » Widgets. Then simply drag the WP Google Weather widget into the Sidebar. Enter the title of the widget, location, which language the display should be in, which unit the display should be in, and whether you want to show just today’s weather or the 3 day forecast.

Here is how the settings and the front-end display looks:

WP Google Weather

The front-end display is not the best however it can be customized to your liking. All you have to do is edit your stylesheet.

Weather and Weather Forecast Widget

This plugin comes with a lot of options. It allows you to use the services like Wunderground and World Weather Online API to get your data. This plugin also has the auto-detect option for location, but you need to signup for another API service for that. The biggest downside in our eyes is that it is mandatory for you to display the link to the provider otherwise your API can be terminated. All those companies do have monthly paid API options where you can remove their link back.

First thing you need to do is install and activate Weather and Weather Forecast Widget. Then go to Appearance » Widgets. Drag the GoGadget Weather Widget. Fill out all the settings. There are tons of options.

Here is how the preview looks:

Weather Forecast Widget

Although the preview looks a lot nicer, the data powered by link is a really big turn down for us.

We hope that you like these plugins. If you know of a better plugin, then feel free to suggest it in the comments.


Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi. Page maintained by Syed Balkhi.

WPBeginner's Video Icon
Our HD-Quality tutorial videos for WordPress Beginners will teach you how to use WordPress to create and manage your own website in about an hour. Get started now »

Comments

  1. Michele says:

    Hi, may I place the weather (in a minimal style) in a topbar with only essential informations ?

  2. Jari says:

    Does this pluggin work with 3.4.2? I ask because with the update the widgets page has changed and now when I access the widget to modify the settings it doesn’t give me the options shown above in the second picture.

    • Editorial Staff says:

      Not sure. This article was written 10+ months ago. Plugin authors may change the way their plugins look. The WordPress plugins directory has the option to see if people have voted for the plugin to work or not. If it doesn’t work for you, then let the developer know what is broken.

  3. Jacob says:

    Hello! Thanks for the post!

    Could you please advise, whether it’s possible to view weather for multiple cities using these or other plugin?

  4. Darryl McKenzie says:

    Hi, great post. I have recently trawled through many a weather plugin and was wondering if you came across any (these two aside) that were in line format (ie: would fit in the very top menu).
    Heres hoping!

    • Editorial Staff says:

      None yet. But you should be able to customize the output by modifying CSS to do what you want.

  5. Tom says:

    I don’t think anyone without good php knowledge would be able to use this plugin. The installation instructions are poor in the best case. I would recomend you don’t bother with this widget although it looks nice.

    • Editorial Staff says:

      Which one are you talking about? We shared two plugins in there. Both were fairly easy to use.

  6. Claire says:

    Hi there,
    Thanks so much for putting up this info about the weather widget, this is exactly what I need! :)  I just wanted to ask – I’ve gotten a bit stuck on “1. Unzip and upload files the files to `/wp-content/plugins/wp-google-weather/`”  This instruction is in the ‘read me’ text file that came in the zip folder.  I’ve put it into my web browser but it just carried out a google search.  Sorry, I’m not very web-savvy! Can you help?
    Thank you! :)

Add a Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.