plugin-icon

UK tides — heights and times

Tide heights and times for UK ports and harbours
Рейтинги
4
Последние изменения
November 3, 2023
Версия
3.2.0
Активные установки
100
UK tides — heights and times

uk-tides displays tide times and heights for a particular location in the UK. The information that is displayed is obtained from the RSS feed for tidetimes.org.uk (eg https://www.tidetimes.org.uk/chichester-harbour-entrance-tide-times.rss ) or tidetimes.co.uk ( eg https://www.tidetimes.co.uk/rss/chichester-harbour-entrance-tide-times ). The data is cached until midnight.

This plugin implements a block called UK tides ( uk-tides/uk-tides ).

  • It’s much easier to use than the shortcode.
  • It uses the functionality that was previously implemented as the [bw_tides] shortcode.
  • The block is not dependent upon the oik plugin.

The syntax for the [bw_tides] shortcode is:

[bw_tides tideurl=»https://www.tidetimes.org.uk/chichester-harbour-entrance-tide-times.rss|other — RSS feed URL for location» store=»1|store key — unique key for caching result»]

Examples: [bw_tides] with no parameters will display the tide times and heights for Chichester Harbour Entrance. The information will be cached in store=1 until midnight.

[bw_tides store=bw_tides_pompey tideurl=»https://www.tidetimes.org.uk/portsmouth»] will display the tide times and heights obtained from https://www.tidetimes.org.uk/portsmouth-tide-times.rss and cache the result in a store named ‘bw_tides_pompey’

Note: Using the store parameter allows you to display tide time and height information for more than one location.

Examples: If you prefer you can use tidetimes.co.uk as the source for tidal information.

[bw_tides tideurl=»https://www.tidetimes.co.uk/rss/chichester-harbour-entrance-tide-times»]

Активные установки
100
Проверено на
6.4.5
Этот плагин можно скачать и использовать при автономной установке WordPress.