描述
Weather Layer is a plugin which allows you to display a layer with weather information for a choosen city.
For example, if you want to display weather for Paris into a post, you just need to insert the following shortcode :
[weatherlayer country=”France” city=”Paris”]
This will display a horizontal layer with weather information related to Paris, France. This format fits well for single posts. However, if you want to insert a weather layer into your sidebar, the WL widget is what you need. Drag and drop it in the widgets menu then fill the form.
Finally, if you want to display a vertical layer with a shortcode, use this :
[weatherlayer country=”Japan” city=”Osaka” display=”vertical”]
Supported languages are English, French, Spanish, German, Italian, Russian, Japanese and Polish.
NB :
This plugin is using Open Weather Map.
屏幕截图
安装
- Download the weather-layer.zip file which contains the whole stuff required
- Unzip the archive
- Upload
weather-layer
directory extracted from the archive to your/wp-content/plugins/
directory - 通过WordPress的的“Plugins”菜单激活插件
- Configure the plugin through your admin interface
- Use shortcode like [weatherlayer country=”England” city=”London”] for posts and WL widget for the sidebar
常见问题
- Installation Instructions
-
- Download the weather-layer.zip file which contains the whole stuff required
- Unzip the archive
- Upload
weather-layer
directory extracted from the archive to your/wp-content/plugins/
directory - 通过WordPress的的“Plugins”菜单激活插件
- Configure the plugin through your admin interface
- Use shortcode like [weatherlayer country=”England” city=”London”] for posts and WL widget for the sidebar