Linux 软件免费装
Banner图

OWM Weather

开发者 rainbowgeek
uwejacobs
ccdzine
更新时间 2024年1月15日 04:22
捐献地址: 去捐款
PHP版本: 7.0 及以上
WordPress版本: 6.4
版权: GPLv2 or later
版权网址: 版权信息

标签

multisite google tag manager weather forecast weather widget local weather sunrise sunset openweathermap weather chart weather map wind owm hourly forecast daily forecast moonset moonrise

下载

5.6.13 5.7.2 5.6.2 5.1.4 5.6.3 5.6.0 5.2.4 5.6.11 5.6.9 5.0.0 5.0.2 5.0.3 5.0.4 5.1.6 5.0.5 5.1.5 5.5.1 5.1.3 5.2.1 5.2.2 5.6.14 5.6.16 5.0.6 5.0.7 5.1.1 5.1.7 5.2.0 5.0.9 5.1 5.2.3 5.2.6 5.3.2 5.3.3 5.3.4 5.3.5 5.4.0 5.1.8 5.4.1 5.1.2 5.4.2 5.6.10 5.6.4 5.6.8 5.0.8 5.1.9 5.2.5 5.3.0 5.5.0 5.6.12 5.6.17 5.6.5 5.6.6 5.6.7 5.7.0 5.3.6 5.7.1 5.0.1 5.3.1 5.6.1 5.6.15

详情介绍:

OWM Weather is derived from the discontinued plugin WP Cloudy. It uses many of the same settings but is completely separate. OWM Weather is a flexible and easy-to-use weather plugin that allows the creation of unlimited different Weathers using Custom Post Types and the Open Weather Map API. Create a Weather, select your location, choose the data and customize the look and feel with a few clicks. Embed it anywhere with the automatically generated shortcode via copy and paste in posts, pages, text widgets, or directly in the PHP files of your theme. With Custom Post Types, you minimize the maintenance: Override certain settings in the system setup and thereby change all Weather posts automatically. Check out the documentation, layout examples and comparisons at the OWM Weather Blog.

安装:

Via WordPress admin
  1. Login to your admin site.
  2. Click the Plugins menu, then click the "Add New" button.
  3. Search OWM Weather.
  4. Click "Install Now" and then "Activate"
  5. If all went well, a new "Weather" menu should appear.
Via FTP
  1. Download the plugin from the official WordPress directory or from GitHub.
  2. Connect to your FTP.
  3. Upload the unzipped “owm_weather” folder in the root plugins directory “/wp-content/plugins/”.
  4. Activate the plugin from the Plugins menu of your admin.
  5. If all went well, a new "Weather" menu should appear.
  6. Get your free OpenWeather API key at https://www.openweathermap.com and enter it under Settings/OWM Weather
API Key Permissions OpenWeather changed their API key permissions for new users. The OneCall API is no longer included with new free API keys. Existing users can still call the previous OpenWeather API version 2.5 - which OWM Weather currently uses. For new users, OpenWeather offers a free OneCall API with 1,000 calls per day but requires an additional subscription with a valid credit card. The subscription can be limited to 1,000 calls to avoid credit card charges. OWM Weather does not call the API more than 48 times per day with the standard caching time of 30 minutes. Without the subscription, the following OWM Weather data is not available anymore for new users: Hourly Forecast, Daily Forecast, Alerts, Moonrise/set, Dew Point, UV Index, and GTAG. Instead OWM Weather fails with a "401 Invalid API Key" error message.

屏幕截图:

  • OWM Weather Alert Modal
  • OWM Weather Detailed Current Conditions
  • OWM Weather with Image Background
  • OWM Weather Detailed Current Conditions with Map
  • OWM Weather with Detailed Current Conditions, Hourly and Daily Forecast, and Map
  • OWM Weather with Detailed Current Conditions and Deailed Hourly Forecast in Table Format
  • OWM Weather System Settings
  • OWM Weather Custom Weather Post Settings
  • OWM Weather Multiple Current Weather Conditions
  • OWM Weather Hourly Forecast Charts

升级注意事项:

  • WP Cloudy users who want to upgrade to OWM Weather need to reenter their weather pages and system settings.

常见问题:

How many cities are supported by OWM Weather?

Over 200,000 cities from 238 countries and territories. Every location on earth is also selectable via latitude/longitude.

How many differents weather can I create with OWM Weather?

Unlimited due to WordPress Custom Post Types.

In which languages is the weather data displayed?

OWM Weather has been fully translated into Chilean, French, German, Russian, Spanish, and Serbian. There are partial translations in Estonian, Italian, Hungarian, Hebrew, Polish, Danish, and Portuguese. Open Weather Map itself provides some of the data in most languages.

How to define the unit Celsius or Fahrenheit?

When creating your weather, choose "Imperial" for Fahrenheit or "Metric" for Celsius from the drop down list "Measurement system".

How to define a custom title for my weather?

Simply enter text in the "Custom city title". If you leave it blank, the default title will correspond to the Open Weather Map "City" field.

Is it possible to add multiples weathers in a same page?

Yes. Each weather can have a completely different setup and layout.

What is the source of the datas?

Open Weather Map (https://openwweathermap.com)

Where is the global settings page?

In WordPress admin, Settings menu, OWM Weather.

Ads?

No.

Can I import/export weathers?

Yes, using the default WordPress importer/exporter tool (free).

Can I import/export global OWM Weather settings?

Yes, in Settings > OWM Weather > Import/Export/Reset tab.

Is OWM Weather compatible to WP Cloudy?

Although many settings look alike, OWM Weather uses completely different weather pages and system settings so both can be activate at the same time.

Why does the Visitor's Location search not work in my development environment?

OWM Weather will first try the HTML5 GeoLocation feature. Should the user decline to share the geolocation or the geo-location cannot be determined, the search will then consult KeyCDN's IP location finder. It maps the visitor's browser IP address to the geographic location and provides the latitude and longitude information. The HTML5 GeoLocation tends to be much more accurate than IP-based GeoLocation. Note regarding IP Location: A development environment uses usually a private network IP address that cannot be geolocated. You will end up with this error message: OWM Weather id '#####': OWM Error 400 (Nothing to geocode).In this case, please allow the HTML5 GeoLocation or use one of the other location options ( City Id, Longitude/Latitude, Zip/Country, or City/Country).

Why is there a lag before the weather informtion gets displayed?

OWM Weather has to make several API calls to OpenWeather to retrieve the weather information. This retrieval runs in the background while the page is loading instead of blocking the whole page until the weather information is ready. It is the standard WordPress solution for displaying information that takes considerable time to compile. You can observe the same behavior on the WordPress Dashboard or Media Library. The Google Site Kit plugin is another example of this behavior. = What is "cURL error 28: Failed to connect to api.openweathermap.org port 443: Connection timed out"? This points to a connectivity issue between the server your domain is hosted and api.openweathermap.org. Please open a ticket with your hosting provider.

Why do I get a "401 Invalid API Key" error?

OpenWeather changed its API key permissions for new users. Up until September 2022, the free API key included the OneCall API 2.5 (Hourly forecast for 48 hours and daily forecast for 7 days). Since then, new users need to subscribe to OpenWeather's OneCall API 3.0. This API is free for the first 1,000 calls per day but requires an additional subscription with a valid credit card. The subscription can be limited to 1,000 calls to avoid credit card charges. OWM Weather does not call the API more than 48 times per shortcode per day with the standard caching time of 30 minutes. Without the subscription, the following OWM Weather data is not available anymore for new users: Hourly Forecast, Daily Forecast, Alerts, Moonrise/set, Dew Point, UV Index, and GTAG. Instead, OWM Weather fails with a "401 Invalid API Key" error message.

更新日志:

5.7.2 5.7.1 5.7.0 5.6.17 5.6.16 5.6.15 5.6.14 5.6.12 5.6.11 5.6.10 5.6.9 5.6.8 5.6.7 5.6.6 5.6.5 5.6.4 5.6.3 5.6.2 5.6.1 5.6.0 5.5.1 5.5.0 5.4.2 5.4.1 5.4.0 5.3.6 5.3.5 5.3.4 5.3.3 5.3.2 5.3.1 5.3.0 5.2.6 5.2.5 5.2.4 5.2.3 5.2.2 5.2.1 5.2.0 5.1.9 5.1.8 5.1.7 5.1.6 5.1.5 5.1.4 5.1.3 5.1.2 5.1.1 5.1 5.0.9 5.0.8 5.0.7 5.0.6 5.0.5 5.0.4 5.0.3 5.0.2 5.0.1 5.0.0 4.5.0