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

WP SimpleWeather

外掛說明

WP SimpleWeather allows you to quickly and easily display the current weather at any location you enter using the Yahoo! Weather API. WP SimpleWeather is exactly what you’d expect from the name. A SIMPLE way to display weather via a wordpress plugin. It is easily installed, widgetized, and comes with an expansive yet easy to use settings page.

The WP SimpleWeather Plugin was adapted from the simpleWeather jQuery plugin by James Fleeting.

螢幕擷圖

  • The default WP SimpleWeather widget.
  • The WP SimpleWeather widget with all options shown.
  • The WP SimpleWeather Settings page.

安裝方式

  1. Upload the whole plugin folder to your /wp-content/plugins/ folder.
  2. Go to the ‘Plugins’ page in the menu and activate the plugin.
  3. Use the WP SimpleWeather Settings page located under the ‘Settings’ menu to change your plugin options. You must enter a location.
  4. Activate the WP SimpleWeather Widget under the ‘Appearance –> Widgets’ menu, or by adding the [wp-simpleweather] shortcode where you wish to display the weather widget.

Shortcode Options

  • Options include [wp-simpleweather width=”(integer)” float=”(left/right/none)” paddingtop=”(integer)” paddingright=”(integer) paddingbottom=”(integer)” paddingleft=”(integer)”
  • Example [wp-simpleweather width=”200″ float=”left” paddingtop=”10″ paddingright=”10″ paddingbottom=”10″ paddingleft=”0″]

使用者評論

2016 年 9 月 3 日
The plugin works to an extent however when you refresh your site it changes the weather update no matter what even when there is no change in the weather. I do not advise you install until this is fixed! Other than this a great plugin and easy to customise! Using <div id="simpleweather-widget"></div> I can place it anywhere including my header so that is great but shame it no longer works. No updates since 2 years ago!
閱讀全部 6 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈WP SimpleWeather〉的開發相關工作。

參與者

將〈WP SimpleWeather〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

Changes for the WP SimpleWeather Plugin:

0.2.5

  • Updated to work with the WordPress 3.8.1.

0.2.4

  • Testing to ensure the plugin works correctly with WordPress 3.5.1.

0.2.3

  • Corrected an error where selecting to display only the city, without displaying the region or country, would break the widget. Thanks to Rick H. for pointing out the problem.

0.2.2

  • Added the ability to modify celsius wind speed units from km/h to m/s.
  • Changed function which removed DB settings on deactivation to the proper function to remove those settings on uninstall. Unfortunately, prior to this version, updates remove your settings. Sorry!

0.2.1

  • Changes to initialization of options, so that default options are saved into the DB, not merely checked as if they had been saved.
  • Now deletes DB entries upon deactivation for a clean uninstall.

0.2

  • Minor corrections in wp-simpleweather-plain.css
  • Addition of a choice of image themes. Choices added are Sketchy Weather by Azure_Sol and Weather Images Shiny by Jyrik.
  • Localized all image files.
  • Added shortcode implementation option.

0.1.1

  • Minor correction to description, addition of changelog in the readme.txt file.

0.1

  • Initial release.