[WordPress] 外掛分享: ESV Bible Shortcode for WordPress

首頁外掛目錄 › ESV Bible Shortcode for WordPress
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
30+
安裝啟用
★★★☆☆
3.5/5 分(4 則評價)
5163 天前
最後更新
問題解決
WordPress 2.5+ v1.0.2 上架:2012-02-15

內容簡介

此外掛使用 ESV 聖經網路服務 API,在 WordPress 安裝中提供了簡單的方式,以 ESV 版本顯示經文。使用 WordPress 簡碼,您可以快速在您的 WordPress 文章中顯示長篇章節或單節經文。 最簡單的使用方式是將「[esv]」簡碼插入您的頁面或文章中,使用下面列出的屬性。這些屬性幾乎與 ESV API 上的屬性相同。 注意:出於明顯的原因,經文屬性是必需的,(並且是唯一必需的屬性)。 可選屬性: "container" //默認值:"span"。您的經文要包裝在其中的 HTML 標籤。 "class" //默認值:"esv-scripture"。要分配給HTML容器標籤的 CSS 類。幫助添加自定義CSS到您的經文。 "include_passage_references" // 默認值為"true",顯示顯示顯示哪個段落的 <h2> 標籤。例如:以賽亞書 53:1-5。 "include_first_verse_numbers" // 默認值:"false",在章節開頭顯示經文編號(例如,53:1)的布爾值。 "include_verse_numbers" //默認值:"true",在經文中顯示節號的布爾值。 "include_footnotes" // 默認值:"false",包括腳注和參考文獻。 "include_footnote_links" //默認值:"false",如果您已經設置了"包括腳註"為true,則設置此選項為false以關閉鏈接到文本中的腳註。腳註仍然會出現在經文底部。如果include-footnotes為false,此參數將不起作用。 "include_headings" // 默認值:"false",包括章節標題。例如,馬太福音5的章節標題是山上寶訓。 "include_subheadings" //默認值:"false",包括子標題。子標題是詩篇的標題(例如,詩篇73的阿薩的智訓),詩篇119的字母表節奏區隔,雅歌的演講者,以及出現在約翰福音7和馬可福音16的文本說明。 "include_surrounding_chapters" //默認值:"false",在引用下面顯示指向聖經上一章,當前(如果不顯示整個章節)和下一章的連結。該鏈接指向 ESV 網站,但您可以通過更改 link-url 參數來修改它。 "include_word_ids" //默認值:"false",在每個單詞周圍包圍一個具有唯一 ID 的標籤。

該 ID 由幾個部分組成;id "w40001002.01-1" 包括: 字母 "w"(用於有效的XHTML id),一個八位數的經節識別符(40001002 指的是馬太福音1:2),一個句點(.),一個兩位數的單詞識別符(01),以及一個短橫線後面跟著一個數字(這個數字在每個通道中遞增;它從1開始)。腳註沒有單詞 ID。 "link_url" // 默認值:"http://www.gnpcb.org/esv/search/",嵌入到其他章節的連結應該指向哪裡。它目前僅適用於include-surrounding-chapters設置為true時。 "include_audio_link" //默認值:"false",包含到所請求的經文的音頻版本的鏈接。鏈接出現在標識經文的 <h2> 中。 "audio_format" //默認值:"flash",接受一個值。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.2) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「ESV Bible Shortcode for WordPress」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

This plugin uses the ESV Bible Web Service API to provide an easy way to display scripture in the ESV translation on a WordPress installation. Using WordPress shortcodes, you can quickly display lengthy passages or single verses in your WordPress posts.
Usage
The simplest usage of the plugin to insert the ‘[esv]’ shortcode into your page or post, using the attributes listed below. These attributes pretty much mirror those on the ESV API.
[esv scripture=’John 3:16-21′]

NOTE: For reasons that should be obvious, the scripture attribute is required, (and is the only required attribute.)

Optional Attributes:
‘container’ // Default: ‘span’.
The html tag to wrap your scripture in.
‘class’ // Default: ‘esv-scripture’.
The css class to assign to the html container tag. Aids in adding custom CSS to your scripture.
‘include_passage_references’ // Default: ‘true;
Boolean value to include
< h2> tags that indicate which passage is being displayed. For example: Isaiah 53:1-5.
‘include_first_verse_numbers’ // Default: ‘false’
Boolean value to show the verse number (e.g., 53:1) at the beginnings of chapters.
‘include_verse_numbers’ // Default: ‘true’
Boolean value to show verse numbers in the text.
‘include_footnotes’ // Default: ‘false’
Include footnotes and references to them in the text.
‘include_footnote_links’ // Default: ‘false’
If you have set include-footnotes to true, set this option to false to turn off the links to the footnotes within the text. The footnotes will still appear at the bottom of the passage. If include-footnotes is false, this parameter does not do anything.
‘include_headings’ // Default: ‘false’
Include section headings. For example, the section heading of Matthew 5 is The Sermon on the Mount.
‘include_subheadings’ // Default: ‘false’
Include subheadings. Subheadings are the titles of psalms (e.g., Psalm 73’s A Maskil of Asaph), the acrostic divisions in Psalm 119, the speakers in Song of Solomon, and the textual notes that appear in John 7 and Mark 16.
‘include_surrounding_chapters’ // Default: ‘false’
Show links under the reference to the previous, current (if not showing the whole chapter) and next chapters in the Bible. The link points to the ESV website, but you can modify it by changing the link-url parameter.
‘include_word_ids’ // Default: ‘false’
Include a tags surrounding each word with a unique id. The id has several parts; the id “w40001002.01-1” consists of: the letter w (needed for valid XHTML ids), an eight-digit verse identifier (40001002 indicates Matthew 1:2), a period (.), a two-digit word identifier (01), and a hyphen followed by a number (this number is incremented with each passage; it starts with 1). Footnotes do not have word ids.
‘link_url’ // Default: ‘http://www.gnpcb.org/esv/search/’
Where embedded links to other passages should point. It currently applies only when include-surrounding-chapters is set to true.
‘include_audio_link’ // Default: ‘false’
Include a link to the audio version of the requested passage. The link appears in a tag in the passage’s identifying
< h2>.
‘audio_format’ // Default: ‘flash’
Takes a value of flash, mp3, real, or wma to indicate the format of the audio. It defaults to flash, but the default could change; if you have a strong preference for one of these formats, we recommend that you specify it explicitly. We recommend flash as the most flexible; an embedded Flash player is included in the text. When the audio-version is hw, the mp3 option includes a link to an MP3 file.
‘audio_version’ // Default: ‘hw’
Which recording to use. The options are: hw (David Cochran Heath [Hear the Word], complete Bible) mm (Max McLean, complete Bible), ml (Marquis Laughlin, New Testament only), ml-mm (David Cochran Heath for Old Testament, Marquis Laughlin for New Testament), and ml-mm (Max McLean for Old Testament, Marquis Laughlin for New Testament). Only affects the output if audio-format is flash or mp3. (David Cochran Heath and Max McLean’s versions are only available in these two formats.)
‘include_short_copyright // Default: ‘false’
Each passage from the ESV needs to include the letters “ESV” at the end of the passage. To turn off this behavior, set this option to fals
‘include_copyright’ // Default: ‘false’
Show a copyright notice at the bottom of the text. Any page that shows the ESV text from this service needs to include a copyright notice, but you do not need to include it with each passage. Best practice is probably to include the copyright manually on your page, rather than download it every time. This option is mutually exclusive with include-short-copyright, which overrides include-copyright.
‘output_format’ // Default: ‘html’
The format to output. Options are ‘html’, ‘plain-text’, and ‘xml’
‘include_passage_horizontal_lines’ // Default: ‘false’
Applicable only when outputting plain-text. Include a line of equals signs (===) above the beginning of each passage.
‘include_heading_horizontal_lines // Default: ‘false’
Applicable only when outputting plain-text. Include a line of underscores (___) above each section heading.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon