이 플러그인은 최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다. 워드프레스의 좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 있을 수 있습니다.

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”]

스크린샷

블록

이 플러그인은 1개의 블록을 제공합니다.

  • UK tides Tide times and heights

FAQ

Installation

  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 UK Tide times and heights for the current date use the UK tides block.

How do I find the value for tideurl?

Note: This is not necessary when you use the block, the tideurl is automatically created based on your selection of Site and Port.

  • Visit www.tidetimes.org.uk,
  • click on the location of your choice,
  • click on the RSS feed icon,
  • copy the URL from the feed

eg for Brighton Marina the value for tideurl is https://www.tidetimes.org.uk/brighton-marina-tide-times.rss

또는

  • Visit www.tidetimes.co.uk,
  • click on the location of your choice,
  • click on the RSS feed icon,
  • copy the URL from the feed eg for Brighton Marina the value for tideurl is https://www.tidetimes.co.uk/rss/brighton-marina-tide-times

What if I don’t live in the UK?

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 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 https://www.tidetimes.org.uk/widgets or https://www.tidetimes.co.uk/widgets

You may find the output harder to (re)style.

Further reading

If you want to read more about the oik plugins then please visit the oik plugin “OIK – OIK Information Kit”

후기

이 플러그인에 대한 평가가 없습니다.

기여자 & 개발자

“UK tides – heights and times”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “UK tides – heights and times”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

3.3.2

  • Changed: Updated wp-scripts #29
  • Tested: With WordPress 6.7 and WordPress Multisite
  • Tested: With Gutenberg 19.6.1
  • Tested: With PHP 8.3
  • Tested: With PHPUnit 9.6