Linux 软件免费装
Banner图

WFY24 Weather Widget

开发者 wfy24
更新时间 2026年9月18日 03:09
PHP版本: 8.1 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

widget embed weather forecast temperature

下载

2.0.0 2.0.1 2.0.3 1.5.6 1.7.1 2.0.2 2.1.0 2.1.1 1.6.0 1.7.0 2.4.0 2.5.0 1.5.1 1.5.2 1.5.3 1.5.4 1.5.5 2.3.0

详情介绍:

WFY24 Weather Widget lets you embed a free, fully-featured weather widget on any WordPress site — in any post, page, or sidebar — with a single shortcode, Gutenberg block, or built-in sidebar widget. Zero-friction setup Activating the plugin opens Settings → WFY24 Weather, one screen with everything on it:
  1. Activate now (free) — check the pre-filled admin email and your defaults (city, language, theme, units) and click once. The plugin registers your site with wfy24.com and the widget is live. No external signup, no copy/paste.
  2. Connect an existing WFY24 widget — already have a key from an earlier install, from the wfy24.com widget builder, or from the main site of your Multisite? Paste it instead.
  3. Quick actions on the dashboard — publish a "Weather" page with the widget ready to go, or add a compact widget to your first sidebar, each with one click.
Features Usage Shortcode: [wfy24_weather] Override per instance: [wfy24_weather city="paris-fr2988507" theme="dark" variant="forecast" lang="fr"] Or use the WFY24 Weather Widget block in the Gutenberg editor for a visual interface. Attribution The free version of this plugin displays a small attribution link — its visible text is wfy24.com — under each rendered widget. The activation screen says so above the "Activate now (free)" button: "By activating you agree to display a small attribution link (wfy24.com) under each widget"; clicking that button is your explicit permission to enable the link. A Pro plan that removes the attribution is in preparation; until it launches the plugin shows "Pro is coming — notify me" (wfy24.com/en/widgets/pro). Existing Pro subscriptions keep hiding the link. External service This plugin connects to the WFY24 weather service at https://www.wfy24.com: Links:

安装:

  1. Upload the plugin to /wp-content/plugins/wfy24-weather-widget/, or install via Plugins → Add New.
  2. Activate the plugin via the Plugins menu.
  3. Settings → WFY24 Weather opens automatically. Check the pre-filled email and your defaults, click Activate now (free). Done — then use the quick actions (Create Weather page, Add to sidebar) or add [wfy24_weather] anywhere.
If you already have a key (an earlier install of this plugin, the wfy24.com widget builder, or the main site of a sub-directory Multisite):
  1. Go to Settings → WFY24 Weather.
  2. Open Connect an existing WFY24 widget and paste the key (it looks like wfy24_ followed by 32 letters and digits). A value of any other shape is rejected and nothing is changed.
  3. Add [wfy24_weather] to any post, page, or widget area.

屏幕截图:

  • The welcome screen on first open — "Activate now (free)" or enter a key manually
  • Classic widget layout rendered on a live WordPress page

升级注意事项:

2.5.0 Paste-your-key form and a clear message when the site is already registered; widget language defaults to your site language; Armenian added (51); fresh installs show IP-based local weather instead of an error box; Pro upgrade parked until launch. Existing settings unchanged. 2.4.0 The admin interface is now translated into 15 locales and the plugin is tested against WordPress 7.1. No settings changes needed. 2.3.0 German admin interface (de_DE / de_AT / de_CH) and the activation link now opens wfy24.com in your own language. No settings changes needed. 2.2.0 Major visual redesign, localized country names in all 50 languages, RTL support, 5-day forecast and accessibility fixes. No settings changes needed. 2.1.0 Adds a new wide AQI variant (weather + air quality side-by-side) and a width attribute on every shortcode/block. Existing embeds keep their previous look — opt in via variant="aqi-wide" and/or width="800px". Confirmed compatible with WordPress 7.0. 1.5.3 Onboarding now configures everything in one form (email, city autocomplete, language combobox, theme, units, geolocation). Visitor-geolocation is off by default — no more surprise browser permission prompts. Stronger Pro feature list. Existing installs keep their settings. 1.5.2 Onboarding wizard now shows a dynamic disclosure of exactly what is sent to wfy24.com on activation, including the live admin email value, so admins can review and change it in Settings → General before consenting. Multisite behaviour documented explicitly. No behaviour change for existing installs. 1.5.1 Plugin Check fixes — wp_redirect to Stripe replaced with wp_safe_redirect plus a Stripe-host allowlist; readme upgrade notice tightened. No behaviour change. 1.5.0 Replaces inline script tags with wp_enqueue_script in the shortcode, admin preview, and onboarding wizard, per WordPress.org Plugin Directory guidelines. The hosted widget bundle gained a placeholder-element mount mode so rendering stays in-place. Existing shortcodes keep working. 1.4.0 Removes the opt-in daily telemetry ping in line with WordPress.org guidelines. No external calls happen on a schedule any more. Cleans up the previously scheduled WP-Cron event automatically. 1.2.0 Adds one-click Pro upgrade (€9/mo via Stripe). Pro subscribers' widgets no longer show the attribution link. 1.1.2 Adds explicit attribution disclosure in the activation wizard (WP.org guideline compliance). No behavior change for existing installs — the "Weather by WFY24" link was already part of the widget. 1.1.1 Code-quality and compliance pass for WP.org Plugin Check (translators comments, escaping, prefixing, ordered placeholders). No user-visible changes. 1.1.0 Zero-click activation, onboarding wizard, auto-create Weather page, auto-add to sidebar, connection status. Highly recommended. 1.0.0 First public release.

常见问题:

Is it really free?

Yes. No credit card, no trial, no ads in the widget. Fair-use rate limits apply (plenty for normal sites).

Do I need to create an account manually?

No. The plugin registers your site automatically on activation using your WordPress admin email. If you already have a key — from an earlier install, from the wfy24.com widget builder, or from another subsite — paste it into Connect an existing WFY24 widget on the same screen.

Can I revoke / change my key later?

Yes — visit wfy24.com/en/widgets to manage keys (the "Lost it? request a replacement" link on the activation screen takes you to the same place). A replacement key issued there must be pasted into Connect an existing WFY24 widget in this plugin; the old key stops working within about 30 minutes.

What data is sent to wfy24.com?

Minimal. See the "External service" section above. The plugin only contacts wfy24.com on actions you explicitly trigger (activation click, widget rendering on visitor pages, Pro upgrade click). There is no background telemetry, no scheduled cron, and no analytics.

Can I customize the look?

The widget uses Shadow DOM for style isolation, so it won't clash with your theme. Choose from 7 layouts (Classic, Compact, Minimal, Badge, Forecast, Air Quality, Air Quality + Weather wide) and 3 themes (Auto, Light, Dark).

What languages are supported?

51 languages. The site default follows your WordPress site language (choose another in Settings → WFY24 Weather); set the lang attribute on a shortcode or block to override it per widget with any of the 51 ISO 2-letter codes.

How do I find a city slug?

Go to wfy24.com, search for your city, and copy the slug from the URL (e.g. paris-fr2988507).

Does it work with caching plugins?

Yes. The widget loads client-side, so full-page cache has no impact on weather freshness.

Does it work with Gutenberg / block editor?

Yes — we ship a "WFY24 Weather Widget" block under the Widgets category.

What data sources does WFY24 use?

WFY24 combines multiple NWP models (DWD ICON-D2, ICON-EU, ICON-Global, GFS fallback) with real observations from 19,000+ weather stations (METAR, SYNOP, CWOP, DWD, etc.). Air quality comes from the Copernicus Atmosphere Monitoring Service (CAMS).

Is there an attribution / "powered by" link?

Yes. The free version of this plugin displays a small link with the text wfy24.com under each rendered widget. This is stated explicitly on the activation screen, above the "Activate now (free)" button; clicking "Activate" is your explicit consent. The link is how we keep the service free for everyone.

Can I remove the wfy24.com link?

Not yet. A Pro plan that removes it is in preparation — the plugin shows "Pro is coming — notify me" (wfy24.com/en/widgets/pro) until it launches. Sites that already have a Pro subscription keep it, and their widgets keep rendering without the link.

更新日志:

2.5.0 2.4.0 2.3.0 2.2.0 2.1.1 2.1.0 2.0.2 2.0.1 2.0.0 1.6.0 1.5.6 1.5.5 1.5.4 1.5.3 1.5.2 1.5.1 1.5.0 1.4.0 1.2.0 1.1.2 1.1.1 1.1.0 1.0.0