plugin-icon

WP NG Weather

作者 Tony Samperi·
wp-ng-weather let's you put a weather widget anywhere in your blog
版本
1.0.9
活躍安裝總數
20
最近更新:
Aug 15, 2017
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”.
免費使用Business方案
目前已測試版本
WordPress 4.8.27
此外掛程式已可供下載,並可用於你 系統。