| 开发者 | meteoprog |
|---|---|
| 更新时间 | 2026年6月4日 20:15 |
| PHP版本: | 7.0 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[meteoprog_informer id="YOUR_INFORMER_ID"][meteoprog_informer] (uses default widget){meteoprog_informer_YOUR_INFORMER_ID}{meteoprog_informer} (uses default widget)/wp-json/meteoprog/v1/informers (secured by edit_posts) for block integration./wp-content/plugins/ or install via Plugins → Add New.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
You can generate a widget (informer) API key at https://billing.meteoprog.com/informer.
No.\ Informer API keys are different.\ The Meteoprog Weather API requires a separate subscription.\ Informer API keys are free, unlimited, and without limits.
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).{meteoprog_informer_YOUR_INFORMER_ID}\
→ Replaced with the widget matching the ID.{meteoprog_informer}\
→ Replaced with the default informer.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.
The plugin works with PHP versions from 5.6 up to 8.3 inclusive.
Yes. Create multiple informers at https://billing.meteoprog.com/informer, then insert them with their IDs.
You can set a "Default Widget" in plugin settings. Then just use [meteoprog_informer] or {meteoprog_informer} without ID.
Yes. Use the block Meteoprog Weather Widget from the Widgets category.
Yes. The plugin includes a native Elementor widget that you can insert from the Elementor panel.
Yes. The plugin integrates with Shortcodes Ultimate, adding a custom Meteoprog Weather shortcode with a dropdown and live preview.
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
Yes. Example commands:
wp meteoprog-weather-informers set-key <key> — set API keywp meteoprog-weather-informers get-key — show current API key (masked)wp meteoprog-weather-informers set-default <id> — set default informerwp meteoprog-weather-informers get-default — show default informerwp meteoprog-weather-informers refresh — clear cache and reload informerswp meteoprog-weather-informers clear-cache — clear cache onlyNo.
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:
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.
[su_meteoprog_informer] without an ID rendered an empty informer block when no default informer was set.<head> output.su_ prefix for Shortcodes Ultimate integration/wp-json/meteoprog/v1/informers.