Tides Today Tides and Weather

Tides Today Tides and Weather

توسط

Tides Today Tides and Weather allows you to add tide times and weather information to your site for over 8,000 locations worldwide.

Features include:

  • Add tide times and weather to your site for over 8,000 locations world-wide
  • Preview your widget from the WordPress admin
  • Language-aware country, region, and location selection from the Tides Today widget API
  • Customise your Tide Times and Weather widget in English or French
  • Shortcode output for every saved widget
  • Classic sidebar widget support
  • Gutenberg block support with a dropdown of saved widgets
  • WordPress cache-backed API fetching to reduce repeated remote requests
  • Styling support via WordPress’ built-in Additional CSS tools and theme styles

External services

This plugin connects to the Tides Today widget API at api.tidestoday.io to load the list of available countries, regions, and locations, and to fetch the tide and weather data needed by saved widgets.

On first use, the plugin registers this WordPress installation with the Tides Today widget API. The API returns an installation identifier and secret, which are stored in the WordPress options table and used to sign future catalog and widget data requests. This helps protect the public widget API from abuse while allowing legitimate high-traffic sites to use cached server-side requests.

When an administrator uses the widget builder, the plugin sends the selected widget language and selected location identifiers or slugs to the Tides Today service to retrieve catalog data and preview data.

When a saved widget is displayed on the public site, the plugin requests data.json from the Tides Today API for the saved language, country, region, and location so the plugin-bundled JavaScript can render current tide and weather information.

Those API requests are made from your WordPress site server to the Tides Today service. Site visitors do not receive remotely hosted executable JavaScript from Tides Today; widget rendering JavaScript and base CSS are included in this plugin. The plugin caches service responses through WordPress.

Map and weather image assets referenced by the widget data are loaded from the Tides Today CDN at https://cdn.tidestoday.media when the widget renders. These are image assets only, not executable code. This is required because it is not practical to bundle and maintain map and weather image assets for more than 8,000 supported locations inside the plugin package.

Terms of Service: https://tides.today/en/terms-of-service

Privacy Policy: https://tides.today/en/privacy-policy

  1. Upload the plugin folder to wp-content/plugins/.
  2. Activate the plugin in WordPress.
  3. Open Tides Today in the WordPress admin sidebar.
  4. Create and save a widget configuration.
  5. Use the generated shortcode, select the widget in a sidebar, or choose it from the Gutenberg block dropdown.

سوالات متداول

How do I add a widget to a page?

Save a widget in Tides Today, then either:

  • paste its shortcode into the page
  • add the Tides Today Tides and Weather block in Gutenberg
  • choose it from the classic Widgets screen
Are API calls cached?

Yes. Countries, regions, locations, and widget data requests are cached with WordPress cache APIs.

How do I style a widget?

Use WordPress’ built-in Additional CSS feature or your theme’s stylesheet tools.

Each rendered widget includes the base class .tttw-widget-host and a widget-specific class like .tttw-widget-host--tttw_abc123def456, so you can target one widget or all widgets without saving custom CSS inside the plugin.

What versions are supported?

The plugin is built for WordPress 5.0+ and PHP 7.0+.

×
نظری برای این آیتم موجود نیست.
0 0 رای ها
امتیازدهی
اشتراک در
اطلاع از
0 نظرات
قدیمی‌ترین
تازه‌ترین بیشترین رأی
بازخورد (Feedback) های اینلاین
مشاهده همه دیدگاه ها
نسخه حجم فایل SHA256 تغییرات دانلود
2.1.2 109 کیلوبایت -
دانلود
×
بدون امتیاز

قیمت:

رایگان

نگارش

2.1.2

آخرین انتشار

1 خرداد 1405

آخرین بروزرسانی

4 هفته پیش

نصب های فعال

-

نگارش وردپرس

وردپرس 5.0+

تست شده از نسخه

وردپرس 6.9.4

نگارش PHP

PHP 7.0+

نسخه ها

1 نسخه