This is my first Wordpress plugin. It displays a weather widget using the unofficial Google weather API.
Features
- show today’s weather
- show weather forecast for next 3 days
- specifiy output language
- choose between Celsius or Fahrenheit
- comes with predefined CSS style
- valid XHTML output
Example
You can see a working example down right in my sidebar.
Backend
Frontend
Installation
- Unzip and upload files the files to wp-content/plugins/wp-google-weather
- Activate the plugin
- Go to Themes > Widgets and drag WP Google Weather widget to your sidebar
- Specify title, city, country (optional), temperature as Celsius or Fahrenheit and language (ISO 639-1 code)
- decide whether it should display only today’s weather or also a 3 day forecast
Frequently Asked Questions
Q: What are ISO 639-1 codes?
A: Two letter codes for the country.
Some examples
USA: us
England: en
Germany: de
France: fr
A complete list of the codes can be found at
http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes
Requirements
You need at least Wordpress version 2.8 or higher and a theme which allows widgets.




Recent Comments