Uk-tides Plugin

özgür koca, ensei tankado, okocaözgür koca

Uk-tides Compatible up to: 3.3.1

Last Updated: 2012-4-6
Downloads: 9, wordpress plugin, install Uk-tides, download Uk-tides, heights and times, shortcode, tides, uk, [bw_tides]


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 (e.g.

Download Uk-tides Plugin


Author:… The data is cached until midnight. This plugin implements a lazy smart shortcode using the API provided by the oik plugin.

You implement this on your website using the [bw_tides] shortcode.

The syntax is:

tideurl="|other - RSS feed URL for location"
store="1|store key - unique key for caching result"]

[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=""] will display the tide times and heights obtained from
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.

Tags: , , , ,


  1. uk-tides screenshot 1

    sample output for Portsmouth, Hants

Installation of Uk-tides

  1. Upload the contents of the uk-tides plugin to the `/wp-content/plugins/uk-tides’ directory
  2. Activate the uk-tides plugin through the ‘Plugins’ menu in WordPress
  3. Whenever you want to produce some ‘uk-tides’ed text use the [uk-tides] shortcode.

Note: uk-tides is dependent upon the oik plugin. You can activate it but it will not work unless oik is also activated.
Download oik from
[oik download](


How do I find the value for tideurl?

Visit , click on the location of your choice, click on the RSS feed icon, copy the URL from the feed
e.g. for Brighton Marina the value for tideurl is

Doesn’t [bw_tides] already exist in oik?

Not anymore. It was disabled in oik version 1.11

What if I don’t live in the UK?

uk-tides currently only works for the UK since the information is obtained from
If you can point us to a resource for other locations then it should be possible to develop a very similar solution.

Isn’t there some JavaScript that does something similar?

YES. See
But you may find the output harder to (re)style.



  • initial version. Works with oik version 1.11

Other Notes

Further reading

If you want to read more about the oik plugins then please visit the

“the oik plugin – for often included key-information”

Tags: , , , , , , , ,

Leave a comment