wp-ng-weather

wp-ng-weather is a simple widget for WordPress, which allows you to put a weather widget in your website, by using a simple shortcode like this:
[ng-weather api-key=”my-api-key” city=”Bergamo” locale=”it”]
No coding is required!
wp-ng-weather is a wrapper for Tony Samperi’s ng-weather (tonysamperi.github.io/ng-weather/), which is an AngularJS Directive.
Weather data is got from http://www.openweathermap.org, but they need to track api usage.
So you’ll need your personal API KEY to use this widget, see “Installation” to learn how to get one!
With a FREE API KEY it’s possibile to make 60 calls per minute.
parameters
- api-key: Your API KEY you got from openweathermap.org. REQUIRED
- city: A string with the name of your city. This isn’t required if you set “city-id”
- city-id: A string with the ID of your city. This isn’t required if you set “city”
- locale: A string with your locale. “en” or “it” are supported at the moment. Default value “en”.
Download & install the zip archive
The plugin package installer can be downloaded from the WP2E project tab called “code”.
1 – Select the version to download if this option is available otherwise the “latest” version of the main plugin will be used.
2 – After downloading the zip archive install the plugin package installer in you local environment and activate the script from the plugin list.
3 – Under the section “Plugins” of the admin dashboard you should see a new “Dependencies & Licenses” link. Follow the instructions from this panel to finalize the installation of the missing dependencies.
- Give a name to your project
- Download the Installer Package
- Install & activate the plugin locally
- Install the suggested dependencies
Tips: Use the WP2E panel to add/suggest new dependencies to the local installation. Press F5 in the list of dependencies if the changes are not displayed right away.



