We'll create fresh WordPress site with The Word Widget installed. You have 20 minutes to test the plugin after that site we'll be deleted.
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 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.
Dated 2023-03-25 – for latest information, see https://bible2.net/download/bible-editions-available/.
For 2023, The Word is available in the following Bible editions and languages:
As of 2023-03-25, no more available are:
The widget output uses the following CSS classes which you may adapt in your stylesheet (CSS):
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.
If you have no idea how to adapt your stylesheet, the following workaround may help:
wp-content/themes
, you should find it in a href
attribute of an HTML element link
href
attribute value is an URL path to a stylesheet file of your WordPress theme
.css?ver=1.2.3
?ver=1.2.3
)
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.
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):
# $theWord truthy
$theWord = str_replace('target="_top" class="b2-twd-start"', 'target="_blank" class="b2-twd-start"', $theWord);
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.
H2
instead of a P
element:
$theWord = preg_replace("/<p\sclass='TL'>(.*?)<\/p>/s", "<h2 class='TL'>$1</h2>", $theWord);
white-space
to normal
):
$theWord = preg_replace("/(<p\sclass='L')>/", "$1 style='white-space: normal'>", $theWord);
$theWord = preg_replace("/(<p\sclass='L')>/", "$1 style='color: black'>", $theWord);
$theWord = preg_replace("/(<p\sclass='SL')>/", "$1 style='color: black'>", $theWord);
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?
The WordPress plugin is licensed under GPLv2 or later.
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/.
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”
<https://creativecommons.org/licenses/by-sa/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