{"id":17536,"date":"2012-04-06T16:53:00","date_gmt":"2012-04-06T16:53:00","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/uk-tides\/"},"modified":"2025-08-14T08:11:25","modified_gmt":"2025-08-14T08:11:25","slug":"uk-tides","status":"publish","type":"plugin","link":"https:\/\/szl.wordpress.org\/plugins\/uk-tides\/","author":7443420,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"3.3.2","stable_tag":"3.3.2","tested":"6.8.5","requires":"5.0","requires_php":"","requires_plugins":null,"header_name":"UK tides - heights and times","header_author":"bobbingwide","header_description":"","assets_banners_color":"bbbbc4","last_updated":"2025-08-14 08:11:25","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.oik-plugins.com\/oik\/oik-donate\/","header_plugin_uri":"https:\/\/www.oik-plugins.com\/oik-plugins\/uk-tides-times-and-heights\/","header_author_uri":"https:\/\/bobbingwide.com\/about-bobbing-wide","rating":4,"author_block_rating":0,"active_installs":100,"downloads":12198,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","faq","changelog"],"tags":{"1.0":{"tag":"1.0","author":"bobbingwide","date":"2012-04-27 16:06:42"},"1.1":{"tag":"1.1","author":"bobbingwide","date":"2013-10-09 12:55:25"},"1.2":{"tag":"1.2","author":"bobbingwide","date":"2014-01-04 22:55:58"},"1.3":{"tag":"1.3","author":"bobbingwide","date":"2014-04-17 13:31:25"},"1.4":{"tag":"1.4","author":"bobbingwide","date":"2014-09-09 09:22:55"},"1.6":{"tag":"1.6","author":"bobbingwide","date":"2015-09-24 19:39:05"},"1.6.1":{"tag":"1.6.1","author":"bobbingwide","date":"2015-12-15 10:38:46"},"1.6.2":{"tag":"1.6.2","author":"bobbingwide","date":"2016-02-13 13:51:42"},"1.6.3":{"tag":"1.6.3","author":"bobbingwide","date":"2016-09-27 19:41:06"},"1.6.4":{"tag":"1.6.4","author":"bobbingwide","date":"2017-06-12 08:42:44"},"1.6.5":{"tag":"1.6.5","author":"bobbingwide","date":"2018-12-13 15:50:16"},"2.0.0":{"tag":"2.0.0","author":"bobbingwide","date":"2020-12-19 15:56:37"},"2.1.0":{"tag":"2.1.0","author":"bobbingwide","date":"2021-03-18 21:17:30"},"3.0.0":{"tag":"3.0.0","author":"bobbingwide","date":"2021-09-14 08:58:18"},"3.0.1":{"tag":"3.0.1","author":"bobbingwide","date":"2022-08-19 11:47:58"},"3.1.0":{"tag":"3.1.0","author":"bobbingwide","date":"2022-11-18 17:58:53"},"3.1.1":{"tag":"3.1.1","author":"bobbingwide","date":"2023-08-06 14:16:19"},"3.2.0":{"tag":"3.2.0","author":"bobbingwide","date":"2023-11-03 09:47:55"},"3.3.0":{"tag":"3.3.0","author":"bobbingwide","date":"2024-09-11 08:11:28"},"3.3.1":{"tag":"3.3.1","author":"bobbingwide","date":"2024-09-24 13:54:50"},"3.3.2":{"tag":"3.3.2","author":"bobbingwide","date":"2025-08-14 08:11:25"}},"upgrade_notice":{"3.3.2":"<p>Update for the latest version of wp-scripts.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":"1","5":0},"assets_icons":{"icon-128x128.jpg":{"filename":"icon-128x128.jpg","revision":1252917,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.jpg":{"filename":"icon-256x256.jpg","revision":981610,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":1050949,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":{"uk-tides\/uk-tides":{"apiVersion":3,"name":"uk-tides\/uk-tides","title":"UK tides","category":"widgets","icon":"chart-bar","description":"Tide times and heights","attributes":{"site":{"type":"string"},"port":{"type":"string","default":"chichester-harbour-entrance"},"textAlign":{"type":"string"},"className":{"type":"string"},"textColor":{"type":"string"},"backgroundColor":{"type":"string"},"style":{"type":"object"},"fontSize":{"type":"string"},"gradient":{"type":"string"}},"example":{},"supports":{"html":false,"customClassName":true,"className":true,"color":{"gradients":true,"text":true,"background":true,"link":true},"typography":{"fontSize":true,"lineHeight":true}},"keywords":["UK","tides","times","heights","oik"],"textdomain":"uk-tides","editorScript":"file:..\/..\/build\/UK-tides.js","editorStyle":"file:..\/..\/build\/UK-tides.css","style":"file:..\/..\/build\/style-UK-tides.css"}},"tagged_versions":["1.0","1.1","1.2","1.3","1.4","1.6","1.6.1","1.6.2","1.6.3","1.6.4","1.6.5","2.0.0","2.1.0","3.0.0","3.0.1","3.1.0","3.1.1","3.2.0","3.3.0","3.3.1","3.3.2"],"block_files":[],"assets_screenshots":{"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":3344407,"resolution":"1","location":"plugin"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3344407,"resolution":"2","location":"plugin"},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3344407,"resolution":"3","location":"plugin"}},"screenshots":{"1":"Example UK tides block - for Chichester Harbour (Entrance) from tidetimes.org.uk","2":"Sample output for Portsmouth, Hants - from tidetimes.org.uk","3":"Sample output for Portsmouth, Hants - from tidetimes.co.uk"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1220,139224,80,132357,3526],"plugin_category":[43],"plugin_contributors":[79761,79762],"plugin_business_model":[],"class_list":["post-17536","plugin","type-plugin","status-publish","hentry","plugin_tags-block","plugin_tags-heights","plugin_tags-shortcode","plugin_tags-tide-times","plugin_tags-uk","plugin_category-customization","plugin_contributors-bobbingwide","plugin_contributors-vsgloik","plugin_committers-bobbingwide"],"banners":{"banner":"https:\/\/ps.w.org\/uk-tides\/assets\/banner-772x250.jpg?rev=1050949","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/uk-tides\/assets\/icon-128x128.jpg?rev=1252917","icon_2x":"https:\/\/ps.w.org\/uk-tides\/assets\/icon-256x256.jpg?rev=981610","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/uk-tides\/trunk\/screenshot-1.jpg?rev=3344407","caption":"Example UK tides block - for Chichester Harbour (Entrance) from tidetimes.org.uk"},{"src":"https:\/\/ps.w.org\/uk-tides\/trunk\/screenshot-2.png?rev=3344407","caption":"Sample output for Portsmouth, Hants - from tidetimes.org.uk"},{"src":"https:\/\/ps.w.org\/uk-tides\/trunk\/screenshot-3.png?rev=3344407","caption":"Sample output for Portsmouth, Hants - from tidetimes.co.uk"}],"raw_content":"<!--section=description-->\n<p>uk-tides displays tide times and heights for a particular location in the UK.\nThe 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 )\nor tidetimes.co.uk ( eg https:\/\/www.tidetimes.co.uk\/rss\/chichester-harbour-entrance-tide-times ).\nThe data is cached until midnight.<\/p>\n\n<p>This plugin implements a block called UK tides ( uk-tides\/uk-tides ).<\/p>\n\n<ul>\n<li>It's much easier to use than the shortcode.<\/li>\n<li>It uses the functionality that was previously implemented as the [bw_tides] shortcode.<\/li>\n<li>The block is not dependent upon the oik plugin.<\/li>\n<\/ul>\n\n<p>The syntax for the [bw_tides] shortcode is:<\/p>\n\n<p>[bw_tides\ntideurl=\"https:\/\/www.tidetimes.org.uk\/chichester-harbour-entrance-tide-times.rss|other - RSS feed URL for location\"\nstore=\"1|store key - unique key for caching result\"]<\/p>\n\n<p>Examples:\n [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.<\/p>\n\n<p>[bw_tides store=bw_tides_pompey tideurl=\"https:\/\/www.tidetimes.org.uk\/portsmouth\"] will display the tide times and heights obtained from\n https:\/\/www.tidetimes.org.uk\/portsmouth-tide-times.rss and cache the result in a store named 'bw_tides_pompey'<\/p>\n\n<p>Note: Using the store parameter allows you to display tide time and height information for more than one location.<\/p>\n\n<p>Examples:\n If you prefer you can use tidetimes.co.uk as the source for tidal information.<\/p>\n\n<p>[bw_tides tideurl=\"https:\/\/www.tidetimes.co.uk\/rss\/chichester-harbour-entrance-tide-times\"]<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id='installation'><h3>Installation<\/h3><\/dt>\n<dd><ol>\n<li>Upload the contents of the uk-tides plugin to the `\/wp-content\/plugins\/uk-tides' directory<\/li>\n<li>Activate the uk-tides plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Whenever you want to produce UK Tide times and heights for the current date use the UK tides block.<\/li>\n<\/ol><\/dd>\n<dt id='how%20do%20i%20find%20the%20value%20for%20tideurl%3F'><h3>How do I find the value for tideurl?<\/h3><\/dt>\n<dd><p>Note: This is not necessary when you use the block, the tideurl is automatically created based on your selection of Site and Port.<\/p>\n\n<ul>\n<li>Visit www.tidetimes.org.uk,<\/li>\n<li>click on the location of your choice,<\/li>\n<li>click on the RSS feed icon,<\/li>\n<li>copy the URL from the feed<\/li>\n<\/ul>\n\n<p>eg for Brighton Marina the value for tideurl is https:\/\/www.tidetimes.org.uk\/brighton-marina-tide-times.rss<\/p>\n\n<p>OR<\/p>\n\n<ul>\n<li>Visit www.tidetimes.co.uk,<\/li>\n<li>click on the location of your choice,<\/li>\n<li>click on the RSS feed icon,<\/li>\n<li>copy the URL from the feed\neg for Brighton Marina the value for tideurl is https:\/\/www.tidetimes.co.uk\/rss\/brighton-marina-tide-times<\/li>\n<\/ul><\/dd>\n<dt id='what%20if%20i%20don%27t%20live%20in%20the%20uk%3F'><h3>What if I don't live in the UK?<\/h3><\/dt>\n<dd><p>uk-tides currently only works for the UK and Ireland since the information is obtained from https:\/\/www.tidetimes.org.uk or https:\/\/www.tidetimes.co.uk\nIf you can point us to a resource for other locations then it should be possible to develop a very similar solution.<\/p><\/dd>\n<dt id='isn%27t%20there%20some%20javascript%20that%20does%20something%20similar%3F'><h3>Isn't there some JavaScript that does something similar?<\/h3><\/dt>\n<dd><p>Yes. See https:\/\/www.tidetimes.org.uk\/widgets or https:\/\/www.tidetimes.co.uk\/widgets<\/p>\n\n<p>You may find the output harder to (re)style.<\/p><\/dd>\n<dt id='further%20reading'><h3>Further reading<\/h3><\/dt>\n<dd><p>If you want to read more about the oik plugins then please visit the\n<a href=\"https:\/\/www.oik-plugins.com\/oik\">oik plugin<\/a> <strong>\"OIK - OIK Information Kit\"<\/strong><\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>3.3.2<\/h4>\n\n<ul>\n<li>Changed: Updated wp-scripts #29<\/li>\n<li>Tested: With WordPress 6.7 and WordPress Multisite<\/li>\n<li>Tested: With Gutenberg 19.6.1<\/li>\n<li>Tested: With PHP 8.3<\/li>\n<li>Tested: With PHPUnit 9.6<\/li>\n<\/ul>","raw_excerpt":"Tide heights and times for UK ports and harbours","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/17536","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=17536"}],"author":[{"embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/bobbingwide"}],"wp:attachment":[{"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=17536"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=17536"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=17536"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=17536"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=17536"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=17536"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}