Linux 软件免费装
Banner图

PDS Weather

开发者 proodos
更新时间 2026年5月31日 17:54
PHP版本: 7.4 及以上
WordPress版本: 7.0
版权: GPLv2
版权网址: 版权信息

标签

widget weather openweathermap current conditions

下载

1.1.1 1.1 2.0 3.0 3.1 3.2 3.3 4.0.2

详情介绍:

PDS Weather shows current conditions in your area using the OpenWeatherMap API (free tier). The plugin fetches and displays: Data is cached for one hour to minimize API calls. Requirements: Setup:
  1. Go to PDS Weather > Settings in your WordPress admin.
  2. Enter your OpenWeatherMap API key.
  3. Select your country and enter your city name.
  4. Choose display options (icon, degrees, feels like, weather label, city name).
  5. Save settings.
Display options:
  1. Use the PDS Weather Gutenberg block in the Block Editor.
  2. Use the PDS Weather classic widget (Appearance > Widgets).
  3. Use the [pdsweather] shortcode in any post or page.
  4. Or call <?php echo pdsweather_display(); ?> in your theme template.
  5. Legacy function pdsWeather() is still supported for backward compatibility.

安装:

  1. Upload the pdsweather folder to /wp-content/plugins/.
  2. Activate the plugin through the 'Plugins' menu in WordPress.
  3. Go to PDS Weather > Settings and enter your OpenWeatherMap API key.
  4. Configure country, city, and display preferences.
  5. Add the widget or use <?php echo pdsweather_display(); ?> in your templates.

升级注意事项:

4.0.0 Major update: Weather Underground API replaced with OpenWeatherMap. You will need a new API key from openweathermap.org. All settings will need to be reconfigured.

常见问题:

Where do I get an API key?

Sign up for a free account at OpenWeatherMap and create an API key. The free tier allows up to 1,000 calls per day.

The old Weather Underground API key no longer works. What do I do?

Weather Underground shut down their free API in 2019. Version 4.0 of this plugin uses OpenWeatherMap instead. Simply enter your new OpenWeatherMap API key in the settings.

How often does the weather data refresh?

The plugin caches data for one hour to minimize API calls.

更新日志:

4.0.2 4.0.1 4.0.0 3.3 3.2 3.1 3.0 2.0 1.1.1 1.1 1.0