這個外掛並未在最新的 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 訂閱開發記錄