BeachFinder Widget

Àpèjúwe

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Ìtumọ̀ Yorùbá: ’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 Ìtumọ̀ Yorùbá: – Latitude for the initial location.
  • lng Ìtumọ̀ Yorùbá: – Longitude for the initial location.
  • title Ìtumọ̀ Yorùbá: – Widget title and iframe title.
  • lang Ìtumọ̀ Yorùbá: – Interface language, for example fr or en.
  • radius Ìtumọ̀ Yorùbá: – Search radius in kilometers. Values are clamped between 5 and 80.
  • limit Ìtumọ̀ Yorùbá: – Maximum number of results to display. Values are clamped between 1 and 8.
  • theme Ìtumọ̀ Yorùbá: – Widget theme, either light or dark.
  • height Ìtumọ̀ Yorùbá: – 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.

Ìgbéwọlẹ̀

  1. Upload the beachfinder-widget folder to /wp-content/plugins/.
  2. In WordPress admin, open Plugins and activate “BeachFinder Widget”.
  3. Add a Shortcode block to a page or post.
  4. Insert [beachfinder_widget] or a configured shortcode.

FAQ

Does this plugin require a BeachFinder API key?

No. The plugin only embeds the public BeachFinder widget.

Can I use it in a theme template?

Yes. Use WordPress’ do_shortcode() function:

<?php echo do_shortcode('[beachfinder_widget lat="45.526" lng="4.919" lang="fr"]'); ?>

Àwọn àgbéyẹ̀wò

Kò sí àwọn àgbéyẹ̀wò fún plugin yìí.

Àwọn Olùkópa & Olùgbéejáde

“BeachFinder Widget” jẹ́ ètò ìṣàmúlò orísun ṣíṣí sílẹ̀. Àwọn ènìyàn wọ̀nyí ti ṣe ìkópa sí plugin yìí.

Àwọn Olùkópa

Túmọ̀ “BeachFinder Widget” sí èdè rẹ.

Ṣe o nífẹ̀ẹ́ sí ìdàgbàsókè?

Ṣàwárí koodu, ṣàyẹ̀wò ibi ìpamọ́ SVN, tàbí ṣe àgbékalẹ̀ sí àkọsílẹ̀ ìdàgbàsókè nípasẹ̀ RSS.

Àkọsílẹ̀ àwọn àyípadà

1.0.0

  • Initial shortcode plugin for the official BeachFinder public widget.