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

Dynamic Visitor Weather

描述

The perfect way to show current conditions and a 3-day forecast in your sidebar, for your visitor’s location. Great for travel sites, town or city sites, etc. It looks good, takes up little space and is easy to set up.

The widget uses accurate weather data from World Weather Online.

About the Weather Widget

The Dynamic Visitor Weather Widget is a compact WordPress weather widget for your sidebar. It has a neat, neutral design which fits in with almost any site. For your visitor’s location or location of your choice (city, town, IP address, etc) it shows the current weather conditions on the top and a 3-day forecast down.

The widget can display temperatures in both celsius and Fahrenheit scales. It can detects the user’s language and shows the appropriate scale, or use a predefined scale. It also allows the user to switch scales and remembers their preferences.

Key Features & Options

  • Choose between Static weather or Dynamic weather.
  • Choose your favourite city in case of static show.
  • Support showing static weather in case of the dynamic didn’t get weather.
  • Support all countries and cities.
  • Temperature options.
  • Separate options page
  • Remembers the admin preferences.
  • Multi widget support.
  • Title text for the widget.
  • Custom options for each widget to choose the referrer or not to use it at all.
  • Smart caching system to decrease the bandwidth usage
  • Use cookies for getting the results faster.
  • Tested for security purposes.
  • Ready for working on responsive themes and different widgets area.
  • Clear all the data in case of uninstalling the plugin without causing any crashes.

Question & Supports

This plugin does not match to your site style? Is this script not quite working as it should?
Having trouble installing? Or need some custom modifications that aren’t already included?
Or you want more features on next release? Please contact me:
Mohamed Atef

Languages

Ready for internationalization and localization.

屏幕截图

  • Side-bar widget show
  • Footer widget show
  • Responsive widget show
  • Responsive widget show
  • Menu icon of options page
  • Options control page
  • Responsive options control page
  • Widget control area

安装

You can either install it automatically from the WordPress admin or do it manually:

  1. Unzip the archive and put the dynamic-visitor-weather folder into your plugins folder (/wp-content/plugins/).
  2. Activate the plugin from the Plugins menu.
  3. Fill out the required information in Dynamic Visitor Weather’s options page(you can get the API key for free at https://developer.worldweatheronline.com/)
  4. Go to Appearance > Widgets
  5. Drag the ‘Dynamic Visitor Weather’ box into the sidebar area
  6. Fill out the required information
  7. Click ‘Save’

That’s it, the weather widget should now show up in your sidebar

常见问题

Can the widget show temperature in Fahrenheit?

Yes, it can now show both Celsius and Fahrenheit. Celsius is the default but The admin can switch between Fahrenheit and Celsius, and their preference will be remembered.

评价

此插件暂无评价。

贡献者及开发者

“Dynamic Visitor Weather” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

1.0