DobsonDev Weather

DobsonDev Weather

Adds a modern weather app to your site. The weather app is available as both a widget and a shortcode. Please download from the Official WordPress Repository.

Copyright 2014 Alex Dobson (email : alex@dobsondev.com)

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2, as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

Adds a modern weather app to your site. The weather app is available as both a widget and a shortcode.

Description

Adds the Weather to your site. The weather app is available as both a widget and a shortcode. If you have any problems or questions please email me at alex@dobsondev.com. Please download from the Official WordPress Repository.

Widget

To get the Widget working, simply go to Appearance -> Widgets and drag the "DobsonDev Weather Widget" to where ever you want it to display. Inside the widget you simply need to fill out the City/Town you want the weather for. The City/Town should be in the format of Town or City, comma, then the country code. For example, New York would be location="New York, US". Click save and the widget will then display the weather on the front end of the site.

Shortcode

[weather location="City/Town, CC" align="align"]

This Shortcode will embed the weather app into your page. Be sure to replace the above code with information pertaining to you. The location should be in the format of Town or City, comma, then the country code. For example, New York would be location="New York, US". The alignment is where you want the shortcode to be aligned to. This works the same way as the WordPress image alignments, so your choices are "right", "left", or "center".

API Key

Please note that this plugin DOES use an API to get the weather and you do have to supply your own API key (the key is free with paid versions for high traffic). The API used for this plugin is Open Weather Map. You can register for an API key here: http://openweathermap.org/register.

Installation

  1. Upload the entire dobsondev-weather-app folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the 'Plugins' menu in WordPress.
  3. Go to Open Weather Map and register for a FREE API Key. If you get a lot of volume you can upgrade to a paid version.
  4. Go to the DobsonDev Weather settings page on the backend of your site.
  5. Enter your API key in the field on the settings page. Click Save.
  6. Done!

Frequently Asked Questions

This plugin does use an API to get the weather and you do have to supply your own API key (the key is free with paid versions for high traffic). The API used for this plugin is Open Weather Map. You can register for an API key here: http://openweathermap.org/register.

For more information about the shortcodes available through the plugin please visit the plugin site. The site contains a description and usage information for the plugin.

If you have any problems or questions please feel free to email me at alex@dobsondev.com.

Changelog

1.0

  • Initial Release

Upgrade Notice

1.0

  • Inital Release