這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Weather Layer

描述

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.

螢幕截圖

  • Horizontal display
  • Vertical display

安裝

  1. Download the weather-layer.zip file which contains the whole stuff required
  2. Unzip the archive
  3. Upload weather-layer directory extracted from the archive to your /wp-content/plugins/ directory
  4. Activate the plugin through the ‘Plugins’ menu in WordPress
  5. Configure the plugin through your admin interface
  6. Use shortcode like [weatherlayer country=”England” city=”London”] for posts and WL widget for the sidebar

常見問題

Installation Instructions
  1. Download the weather-layer.zip file which contains the whole stuff required
  2. Unzip the archive
  3. Upload weather-layer directory extracted from the archive to your /wp-content/plugins/ directory
  4. Activate the plugin through the ‘Plugins’ menu in WordPress
  5. Configure the plugin through your admin interface
  6. Use shortcode like [weatherlayer country=”England” city=”London”] for posts and WL widget for the sidebar

評價

2017年5月11日
It looks nice, but would be much more helpful if it didn’t skip the weather report for “tomorrow”. It shows “today” (Thursday), then Saturday and Sunday. It’s always skipped “tomorrow”. It’s probably time-zone related, but it’s kinda annoying. If I was using this on a public site, I would remove it, but it’s ‘ok’ for just me.
2016年9月3日
The plugin isn’t synchronized right cause it shows the weather of the next day not the present one and i couldn’t find any setting to change the display day. Also when viewed by a mobile phone the name of the city has a space in the middle of the letters.
2016年9月3日
I was looking for a new weather plugin because the one I was using didn’t work anymore (it was using Yahoo Weather) and this one works perfectly. Really easy to use and configure. Different languages and units availables, good plugin.
閱讀全部8個評價

貢獻者及開發者

“Weather Layer” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Weather Layer 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄