| 开发者 | wavind |
|---|---|
| 更新时间 | 2026年11月17日 21:30 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[wavind_forecast spot="https://go.wavind.app/forecasts/spots/your-spot--id" sport="surf" days="5"]
Options: spot (a Wavind forecast URL or spot id), name, sport (wind, surf, optimal), days (1–7), units (kts, ms, kmh), temp (c, f), waves (auto, m, ft, off), theme (auto, light, dark), locale (en, pt, es, fr, de, pl), credit (yes / no, default no).
[wavind_booking link="https://go.wavind.app/book/your-school" style="brand"]
Options: link (your booking link from Wavind: My business → Share), style (brand, dark, light), label, locale, popup (yes / no).
Language defaults to your site's language, including in editor previews. A pasted booking link keeps its language (an unprefixed /book/ link is English); a bare school slug uses the site language. Set locale to override either.
Credit link
The forecast block can show a small "Wind forecast for … — Wavind" link under the widget. It is off by default; switch it on in the block's Credit link panel (or credit="yes") if you want to send visitors to the full forecast.
Search by beach or town name. Spots you created privately in the Wavind app cannot be embedded; only public Wavind spots can.
No script runs on your page. The widget loads lazily and is cached at the edge for five minutes.
Not for the forecast. The booking button needs a business page on Wavind; the listing is free, and bookings are free through 2027.