[WordPress] 外掛分享: UK tides – heights and times

首頁外掛目錄 › UK tides – heights and times
WordPress 外掛 UK tides – heights and times 的封面圖片
100+
安裝啟用
★★★★
4/5 分(1 則評價)
214 天前
最後更新
問題解決
WordPress 5.0+ v3.3.2 上架:2012-04-05

內容簡介

uk-tides 外掛會顯示英國某個位置的潮汐時間和高度。
顯示的資訊是從 tidetimes.org.uk(例如https://www.tidetimes.org.uk/chichester-harbour-entrance-tide-times.rss )或 tidetimes.co.uk(例如https://www.tidetimes.co.uk/rss/chichester-harbour-entrance-tide-times) 的 RSS 功能取得。
這些數據會被快取到午夜。

該外掛實現了一個名為 UK tides ( uk-tides/uk-tides ) 的區塊。

它比短碼更容易使用。
它使用以前作為[bw_tides]短碼實現的功能。
該區塊不依賴於 oik 外掛。

[bw_tides] 短碼的語法如下:

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

例子:
[bw_tides] 沒有任何參數,將顯示 Chichester Harbour Entrance 的潮汐時間和高度。該信息將在存儲1處快取到午夜。

[bw_tides store=bw_tides_pompey tideurl=”https://www.tidetimes.org.uk/portsmouth”] 會從https://www.tidetimes.org.uk/portsmouth-tide-time.rss獲取潮汐時間和高度並將結果緩存到名為“bw_tides_pompey”的存儲器中。

注意:使用存儲參數可以讓您顯示多個位置的潮汐時間和高度信息。

例子:
如果您喜歡,您還可以使用 tidetimes.co.uk 作為潮汐信息的來源。

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

外掛標籤

開發者團隊

⬇ 下載最新版 (v3.3.2) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「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”]

文章
Filter
Apply Filters
Mastodon