內容簡介
該外掛提供一個小工具,您可以將其放置在主題提供的小工具區之一中(在 WordPress 管理區域:外觀 | 小工具)。
該小工具配置從遠程網站 https://bible2.net 上獲取當年度可用的聖經版本列表,並讓您選擇一個聖經版本。每天,小工具會從 bible2.net 檢索當天的兩節經文並顯示它們。
項目聖經2.0收集了精選聖經經文之間的相互關聯,並以20多種語言格式化這些經文,為每年的每天發布兩節交叉引用的經文,可免費下載和作為遠程服務提供。有關聖經版本的可用性列表,請參閱https://bible2.net/download/bible-editions-available/。截至2022-11-09,可以在2023年使用以下聖經版本和語言:
af Bybel in Afrikaans(1983-翻譯)
ar كتاب الحياة:الترجمة العربية الجديدة(Holy Bible,New Arabic Version,Ketab El Hayat)
cim滋布里茨語(德語锡姆布利阿方言),請參見https://bible2.net/cim
da Bibelen(丹麥語)
de Hoffnung für Alle(德語)
de Leonberger Bibel(德語)
de Neue Evangelistische Übersetzung(德語)
de Schlachter 2000(德語)
en English Standard Version
en Free Bible Version(新的2023!)
es Reina-Valera 1995(西班牙語)
fr Segond 21(法語)
ga An Bíobla Naofa 1981(愛爾蘭蓋爾語)
he ספר הבריתות2004(希伯來語)
hu Karoli 1990(匈牙利語)
it Nuova Riveduta 1994(意大利語)
pfl-x-suedsaar南薩爾蘭語(南薩爾蘭語,某種普法茨語 = 普法臘汀語),請見https://bible2.net/pfl-x-suedsaar
pl Biblia Tysiąclecia(波蘭語)
ro Cornilescu 2014(羅馬尼亞語),請見https://bible2.net/ro
ru Юбилейная Библия Jubiläums-Bibel(俄語)
swg Bibel für Schwoba(斯瓦比亞語),請參見https://bible2.net/swg
th สมาคมพระคริสตธรรมไทย1971(泰語聖經1971)
tr Kutsal Kitap 2001
ur کِتابِ مُقادّس(烏爾都語修訂版)
uz-Cyrl Ўзбек тилидаги Муқаддас Китоб 2012
uz-Latn O'zbek tilidagi Muqaddas Kitob 2012
vi Vietnamese Bible(1934年版)
zh-Hans中文标准译本(简化字)
zh-Hant中文标准译本(繁體字)
截至2022-11-09,尚未提供或不再提供以下:
pt葡萄牙文“自由聖經”(葡萄牙語)
cfm Bible Thianghlim(擦奧米亞標准聖經),請見https://bible2.net/cfm
系統需求:
PHP:使用7.4.3進行測試。使用匿名函數需要5.3。
SimpleXML:小工具需要“SimpleXML” PHP庫。如果它不可用,小工具配置(參見安裝章節的“外觀 | 小工具”)將顯示錯誤消息。對於PHP 5.6,命令 sudo apt-get install php5.6-xml
外掛標籤
開發者團隊
原文外掛簡介
The plugin provides a widget which you can place into one of the widget areas provided by your theme (in the WordPress admin area: Appearance | Widgets).
The widget configuration retrieves the list of available Bible editions of the current year remotely from https://bible2.net and lets you select one Bible edition. On each day, the widget retrieves the two verses for the day from bible2.net and displays them.
Project Bible 2.0
Project Bible 2.0 collects cross-references between selected Bible verses, formats the verses nicely and publishes two cross-referenced verses for each day of the year in more than 20 languages, available for free download and as a remote service.
Bible Editions Available
Dated 2025-11-29 – for latest information, see https://bible2.net/download/bible-editions-available/.
For 2025 and 2026, The Word is available in the following Bible editions and languages:
af Bybel in Afrikaans (1983-vertaling)
ar كتاب الحياة : الترجمة العربية الجديدة (Holy Bible, New Arabic Version, Ketab El Hayat)
cim Zimbrisch (German Cimbrian dialect), see https://bible2.net/cim
da Bibelen (Danish)
de Hoffnung für Alle (German)
de Leonberger Bibel (German)
de Neue Evangelistische Übersetzung (German)
de Schlachter 2000 (German)
en English Standard Version
en Free Bible Version (new 2023!)
es Reina-Valera 1995 (Spanish)
fr Segond 21 (French)
ga An Bíobla Naofa 1981 (Gaelic)
gr Νέα Μετάφραση Βάμβα (Greek)
he ספר הבריתות 2004 (Hebrew)
hu Karoli 1990 (Hungarian)
it Nuova Riveduta 1994 (Italian)
pfl-x-suedsaar Südsaarländisch (Southern Saarlandian, a kind of Pfälzisch = Palatinate), see https://bible2.net/pfl-x-suedsaar
pl Biblia Tysiąclecia (Polski Polish)
pt Bíblia Livre em português (Portuguese)
ro Cornilescu 2014 (Romanian), see https://bible2.net/ro
ru Юбилейная Библия Jubiläums-Bibel (русский Russian)
swg Bibel für Schwoba (Schwäbisch Swabian swg), see https://bible2.net/swg
th สมาคมพระคริสตธรรมไทย 1971 (Thai Holy Bible 1971)
tr Kutsal Kitap 2001
ur کِتابِ مُقادّس (Urdu Revised Version)
uz-Cyrl Ўзбек тилидаги Муқаддас Китоб 2012
uz-Latn O‘zbek tilidagi Muqaddas Kitob 2012
vi Vietnamese Bible (1934)
zh-Hans 中文标准译本(简化字) (Simplified Chinese)
zh-Hant 中文标准译本(繁體字) (Traditional Chinese)
System Requirements
PHP: tested with 8.1.
SimpleXML: the widget needs the “SimpleXML” PHP library. If it is not available, the widget configuration (see “Appearance | Widgets” in the Installation chapter) will show an error message.
Adapting the Layout
The widget output uses the following CSS classes which you may adapt in your stylesheet (CSS):
TheWord
TL
Parol
IL
L
SL
An example CSS file is included in the plugin zip file. It includes CSS to either show the verses with line breaks (on a wider display) or without the line breaks (on a smaller display). You may need to adapt the rules, depending on the actual width of your widget area.
Workaround: Adapt your Theme Stylesheet
If you have no idea how to adapt your stylesheet, the following workaround may help:
open your published WordPress page in a browser
inspect the page sources (via right mouse, menu item like “View page source”)
search for wp-content/themes, you should find it in a href attribute of an HTML element link
the href attribute value is an URL path to a stylesheet file of your WordPress theme
typically, the URL path ends like .css?ver=1.2.3
on your web server, open the file located at that path (omit the trailing ?ver=1.2.3)
typically, the file does not contain line-breaks
just navigate to the end of the file, add a line-break, then enter the desired styles (you may start with the contents of the above mentioned example CSS file).
save the file and reload the page in your browser.
Now you should see the effect of the modified stylesheet.
Note: keep a backup of the inserted styles – WordPress will likely overwrite the file when you update your WordPress version or the theme, so you’ll have to apply the changes again.
Workaround: Adapt the Plugin Output
Example: you want the Bible 2.0 logo to open the bible2.net page not in the same but in a new browser Tab.
Precondition: you have access to the installed plugin files on your webserver. (If available, you better test this on a WordPress instance on a local computer first.)
Steps (based on plugin version 0.9):
locate the file wp-content/plugins/the-word-widget/the-word-widget.php
for backup, copy the file to another place
locate the line
# $theWord truthy
after that line, insert the following line (modifying the HTML link “target” to “_blank”):
$theWord = str_replace('target="_top" class="b2-twd-start"', 'target="_blank" class="b2-twd-start"', $theWord);
save the file
in the browser, refresh your web page that displays The Word
click on the Bible 2.0 logo. This should now open the page in a new browser Tab.
By inspecting the page source in your browser, you may come up with other adaptations – like adding a specific CSS class or style.
Ensure you’re using correct PHP syntax, e.g. don’t use the outer single quotes unmasked within your replacement text.
Note: keep a backup of your change – WordPress will likely overwrite the file when you update your WordPress version or the theme, so you’ll have to apply the changes again.
Further Examples
Make the title line “The Word for…” a H2 instead of a P element:
$theWord = preg_replace("/
(.*?)<\/p>/s", "
$1
", $theWord);
Avoid the line-breaks in the verses (override CSS white-space to normal):
$theWord = preg_replace("/(
/", "$1 style='white-space: normal'>", $theWord);
Show the verse text in black color:
$theWord = preg_replace("/(
/", "$1 style='color: black'>", $theWord);
Show the Bible reference text in black color:
$theWord = preg_replace("/(
/", "$1 style='color: black'>", $theWord);
For WordPress Developers
If you’re expert in the hottest WordPress development stuff like the “Block editor”, and you could imagine to maintain this plugin – you’re welcome!
I don’t follow new WordPress trends any more (I moved sites from WordPress to Symfony resp. Hugo).
So as of 2023-03, the WordPress admin dashboard supports configuring the plugin in “legacy” mode only. Maybe sometime they even obsolete this?
Plugin License
The WordPress plugin is licensed under GPLv2 or later.
License for Bible Texts (got remotely per day)
The license conditions for the Bible texts (verses) are defined by the publisher of the respective Bible edition. They are contained in the .twd XML files, and are also shown in https://bible2.net/copyright/.
License for Related Bible References (got remotely per day)
The project Bible 2.0 provides pairs of related Bible references.
The Word associates one pair of Bible references with a certain day, respectively.
The association of Bible references into pairs and of such pairs to days of a certain year is subject to
License “Creative Commons 4.0”
(Attribution, ShareAlike)
With each publication, the following statement with a link to https://bible2.net must be available for the user (e.g. by adding a link to the copyright page):
Association of Bible references by project Bible 2.0
