Linux 软件免费装
Banner图

Weather Widget & Forecast by Meteoprog

开发者 meteoprog
更新时间 2026年6月4日 20:15
PHP版本: 7.0 及以上
WordPress版本: 7.0
版权: GPLv2 or later
版权网址: 版权信息

标签

weather weather forecast weather widget local weather live weather

下载

1.0.4 1.0.3 1.0.1 1.0.2

详情介绍:

Meteoprog Weather Widgets lets you add live local weather widgets and weather forecasts to your WordPress site. Widgets are free, unlimited, and easy to embed using Gutenberg, Elementor, shortcodes, or legacy widgets. Features:

安装:

  1. Upload plugin to /wp-content/plugins/ or install via Plugins → Add New.
  2. Activate the plugin in the WordPress admin.
  3. Go to Settings → Meteoprog Widgets.
  4. Enter your Informer API key from https://billing.meteoprog.com.
  5. Refresh the informer list.
  6. Insert widgets with Gutenberg block, Elementor, Shortcodes Ultimate, Legacy Widget, shortcodes, or placeholders.

屏幕截图:

  • Plugin interface in WordPress admin with shortcode and placeholder examples.

升级注意事项:

1.0.4 Compatibility update for WordPress 7.0. No functional changes required. 1.0.3 Compatibility update for WordPress 6.9. No functional changes required. 1.0.2 🐞 Fixed issue with empty [su_meteoprog_informer] blocks when no default informer ID is configured. 1.0.1 🧩 Minor update for WordPress.org review compliance and metadata corrections. 1.0 First stable release.

常见问题:

Do I need an API key?

Yes. This plugin uses a separate Informer API key for widgets. It is NOT the same as the Meteoprog Weather API key. Informer API keys are always free and have no usage limits. You can create your free informer key here: https://billing.meteoprog.com/informer

Where do I get the API key?

You can generate a widget (informer) API key at https://billing.meteoprog.com/informer.

Is this the same key as the Meteoprog Weather API?

No.\ Informer API keys are different.\ The Meteoprog Weather API requires a separate subscription.\ Informer API keys are free, unlimited, and without limits.

What shortcodes are available?

You can use the following shortcodes:

  • [meteoprog_informer id="YOUR_INFORMER_ID"]\ → Embed a specific informer by its ID.
  • [meteoprog_informer]\ → Embed the default informer (set in plugin settings).
You can also use placeholders directly in post/page content:
  • {meteoprog_informer_YOUR_INFORMER_ID}\ → Replaced with the widget matching the ID.
  • {meteoprog_informer}\ → Replaced with the default informer.

Does it support the old "Legacy Widgets" system?

Yes. For older WordPress versions (4.9–5.7) the plugin registers a Legacy Widget that you can add via Appearance → Widgets.\ On modern WordPress (5.8+) we recommend using the Gutenberg block (Meteoprog Weather Widget), but the Legacy Widget remains for maximum backward compatibility.

What PHP versions are supported?

The plugin works with PHP versions from 5.6 up to 8.3 inclusive.

Can I use multiple widgets?

Yes. Create multiple informers at https://billing.meteoprog.com/informer, then insert them with their IDs.

What if I want one default widget everywhere?

You can set a "Default Widget" in plugin settings. Then just use [meteoprog_informer] or {meteoprog_informer} without ID.

Can I use it in the Gutenberg editor?

Yes. Use the block Meteoprog Weather Widget from the Widgets category.

Does it support Elementor?

Yes. The plugin includes a native Elementor widget that you can insert from the Elementor panel.

Does it support Shortcodes Ultimate?

Yes. The plugin integrates with Shortcodes Ultimate, adding a custom Meteoprog Weather shortcode with a dropdown and live preview.

The widget does not appear on my site. What should I do?

For the most up-to-date troubleshooting guide (with screenshots, code examples, and plugin-specific tips),\ please refer to the extended documentation on GitHub: 👉 https://github.com/meteoprog/meteoprog-weather-informers?tab=readme-ov-file#-the-widget-does-not-appear-on-my-site-what-should-i-do

Does it support WP-CLI?

Yes. Example commands:

  • wp meteoprog-weather-informers set-key <key> — set API key
  • wp meteoprog-weather-informers get-key — show current API key (masked)
  • wp meteoprog-weather-informers set-default <id> — set default informer
  • wp meteoprog-weather-informers get-default — show default informer
  • wp meteoprog-weather-informers refresh — clear cache and reload informers
  • wp meteoprog-weather-informers clear-cache — clear cache only

Will the informer slow down my site?

No. The plugin first enqueues a local script loader-fallback.js from your WordPress site.\ That script then asynchronously loads the actual loader.js from the Meteoprog CDN. This approach is required by WordPress.org plugin guidelines, and ensures that:

  • No external scripts are loaded during the initial HTML render.
  • Informers are added asynchronously and do not block rendering.
  • Core Web Vitals and page performance are unaffected.
  • The widget is embedded after the main content has loaded, similar to YouTube or Twitter embeds.
✅ As a result, informers do not slow down your site and work even on caching/CDN setups without issues.

Development & Testing

The source code is available on GitHub. This plugin is developed in the open and tested automatically via GitHub Actions CI.\ The continuous integration pipeline runs automated builds across multiple WordPress (4.9–6.9) and PHP (5.6–8.4) versions, ensuring full backward compatibility and stable operation on both legacy and modern environments. We welcome issues and pull requests on GitHub.

更新日志:

1.0.4 1.0.3 1.0.2 1.0.1 1.0