该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

World Weather Widget

描述

This plugin/widget allows you to insert weather status in your sidebar. It connects to World Weather Online to get weather forecasts. It shows the current temperature, max and min. You can choose the temperature scale, options are celsius and fahrenheit degrees. Also, you can get results from 1 to 5 days.

It has a really simple html markup:

  • For one result

22 °C

Min 20 °C

Max 32 °C

  • For more than one, displays current temperature and a table

22 °C

Date
Min.
Max.

05/22
Min 20 °C
Max 32 °C

05/23
Min 23 °C
Max 33 °C

You can style it by adding the proper CSS for each id to your style.css file: temp_actual, temp_max, temp_min

Visit the plugin page leave questions/comments/fixes.

Also, if you like this plugin you can donate some money!

安装

  1. Upload the entire world-weather folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Get an API Key from World Weather Online at http://www.worldweatheronline.com/register.aspx
  4. In your Widgets menu, simply drag the widget labeled “World Weather” into a widgetized Area.
  5. Configure the widget by setting a title, the API Key and the location.

评价

此插件暂无评价。

贡献者及开发者

「World Weather Widget」是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

1.0

  • Release

1.1

  • Choose temperature scale
  • Fixed issues with form

1.2

  • Changed API request URL

2.0

  • Fixed mayor bug in widget admin display, not the plugin works!
  • Added functionality, you can choose one to five days to display results.

2.1

  • Fixed bug when displaying fahrenheit temperatures
  • Added icon showing weather status
  • Added donate button

2.1.1

  • Fixed plugin info so it asks for automatical update