| 开发者 | fen0m |
|---|---|
| 更新时间 | 2026年8月15日 03:10 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
lang attribute by default[seatempmap] shortcode for classic themes and page builders[seatempmap dest="hvar"]
Attributes: dest (required, the beach id), units (c or f), theme (auto, light, dark), show (both or sea), shadow (on or off), lang (a language code, or leave empty to follow your page).
Preview every option and find beach ids at seatempmap.com/embed.
[seatempmap dest="..."] shortcode.The list covers 174 beaches and coastal cities. If yours is missing, write to hello@seatempmap.com and say which one.
The script loads asynchronously and only on pages that actually contain a widget. It has no dependencies and does not load jQuery, fonts or a framework.
By default it reads the background behind it and picks a light or dark card to fit. You can force light or dark instead.
Yes. Each card is independent, and the script is loaded once regardless of how many you place.
Yes, through the shortcode. Any builder with a shortcode or raw HTML element can host it.
Sea temperature comes from NASA satellite measurements; weather and UV come from forecast models. The reading is taken at the swimming area near each beach rather than in open water, which is usually a degree or two different.
Yes, and only from inside the card itself. The card shows "SeaTempMap.com" and links to the beach page it is showing, the same way an embedded map or video links back to its source. That link is the attribution for the data.
Nothing is added anywhere else on your site. There is no footer credit, no "powered by" line, and no link outside the widget you placed. Remove the widget and every trace of it is gone.
For the curious: the markup contains that link as a plain <a> before the card renders over it. It is the fallback a visitor sees if JavaScript is off or the service is unreachable, so the card never collapses into an empty box.
No. There are no cookies, no tracking pixel and no analytics. The card requests a temperature and draws it.
shadow option (block setting and shortcode attribute) turns the card's drop shadow off for flat page designs. The glass surface and its edge are unchanged.