plugin-icon

DobsonDev Weather

Par DobsonDev·
Adds a modern weather app to your site. The weather app is avaliable as both a widget and a shortcode.
Évaluations
Version
1.0
Installations actives
10
Mis à jour récemment
Dec 18, 2014

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

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.

Gratuitsur le plan Business
En procédant à l’installation, vous acceptez les Conditions d’utilisation de WordPress.com ainsi que les Conditions de l’extension tierce.
Testé jusqu’à version
WordPress 4.1.42
Cette extension est disponible en téléchargement pour votre site .