plugin-icon

PDS Weather

作者 proodos·
Shows current weather conditions for your city using OpenWeatherMap API. Drag-and-drop widget or template function.
評價
2.5
版本
4.0.2
活躍安裝總數
10
最近更新:
May 31, 2026
PDS Weather

PDS Weather shows current conditions in your area using the OpenWeatherMap API (free tier).

The plugin fetches and displays:

  • Current weather description
  • Current temperature (°C and/or °F)
  • “Feels like” temperature
  • Weather font icon (optional)
  • City name display (optional)

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.
目前已測試版本
WordPress 7.0
此外掛程式已可供下載,並可用於你 系統。