plugin-icon

BeachFinder Widget

作者 beachfinder·
Embed the official BeachFinder beach conditions widget in WordPress with a shortcode.
版本
1.0.0
最近更新:
Jul 5, 2026

BeachFinder Widget adds the [beachfinder_widget] shortcode. It renders an iframe pointing to the official BeachFinder widget at https://getbeachfinder.com/widget/beach-conditions.

The shortcode accepts optional parameters for location, display text, language, search radius, result limit, theme and height.

External service

This plugin connects to BeachFinder at https://getbeachfinder.com to display the beach conditions widget. The widget is loaded in an iframe from https://getbeachfinder.com/widget/beach-conditions.

When the iframe loads, the visitor’s browser makes a request to BeachFinder. The request can include shortcode settings such as latitude, longitude, radius, result limit, language, title and theme. Standard HTTP request data such as IP address, user agent and referrer may also be received by BeachFinder. BeachFinder may store the host domain, host page path, widget settings, and hashed IP address and user agent for analytics, abuse prevention and service reliability.

No BeachFinder account or API key is required to use this plugin.

BeachFinder privacy policy: https://getbeachfinder.com/privacy.html

BeachFinder terms of service: https://getbeachfinder.com/terms.html

Usage

Default widget:

[beachfinder_widget]

Configured widget:

[beachfinder_widget lat="45.526" lng="4.919" title="Conditions de baignade autour de Vienne" lang="fr" radius="50" limit="8" theme="light" height="720"]

Supported parameters:

  • lat – Latitude for the initial location.
  • lng – Longitude for the initial location.
  • title – Widget title and iframe title.
  • lang – Interface language, for example fr or en.
  • radius – Search radius in kilometers. Values are clamped between 5 and 80.
  • limit – Maximum number of results to display. Values are clamped between 1 and 8.
  • theme – Widget theme, either light or dark.
  • height – Iframe minimum height in pixels. Values are clamped between 420 and 1200.

Empty parameters are ignored. Invalid numeric values are ignored. Non-empty valid parameters are passed to the BeachFinder widget URL as query string values.

目前已測試版本
WordPress 6.9.4
此外掛程式已可供下載,並可用於你 系統。