Contribute
Overview
- Getting started
- Reference detection
- Specific references
1. Getting started
A. Installation
WordPress
The plugin is available in the wordpress plugin store.
Custom
The plugin can be installed on any website using the following script:
<script async defer src=”https://bible-link.globalrize.org/plugin.js“></script>
Placement of script
The script must be placed in the <head> or <body> section of your html page.
Example:
<!DOCTYPE html>
<html>
<head>
// other scripts
<script async defer
src=”https://bible-link.globalrize.org/plugin.js“></script>
</head>
<body>
//body content
</body>
</html>
B. Configuration
Bible Link has a variety of options to suit your needs.
Language and translation options
The plugin can detect bible references in different languages. Each installation has one detection language enabled.
- Language
List of available languages
The plugin can display the text of the bible reference in different translations. Each installation has one translation enabled
- Translation
List of available translations
Detection options
Detection mode
Each installation of the plugin has one of the following detection modes enabled
- Auto (default): detects all references on the page automatically.
- Specific: detects references if reference class is assigned.
Example:
<script async defer src=”https://bible-link.globalrize.org/plugin.js” data-mode=”specific”></script>
Exclude detection
Detection can be disabled by using exclude options.
- Class: Elements with this class are excluded from the auto detection
- Elements: Elements should be excluded from the all detection
Example:
<script async defer src=”https://bible-link.globalrize.org/plugin.js” data-excluded-class=”no-bible-link”></script>
Visual options
Bible Link allows for custom classes to the reference itself or the tooltip. By default these classes will be “bible-link” and “reference-tooltip”.
CSS customization
Styling the bible link reference or the bible link tooltip can be done with CSS.
Example:
.bible-link {
color: red;
}
Results in
Example:
.reference-tooltip {
font-size:
}
2. Reference detection
Bible Link detects bible references in multiple formats. Most languages support reference detection similar to the following examples.
Single verse
Genesis 1:1
Verse range
1 Peter 1:1-5
Verse and chapter range
Genesis 1:1-2:3
Written out
Genesis 1 verse 1 to 5
Custom text
Somewhere in the Bible
Bible book abbreviated
Gen 1
Additional references
Separated by semicolons
Genesis 1:1; 2:2; 3:3
Different translations
Gen 1:2 (ESV) and Gen 1:2 (KJV)
Tooltip details
Read more
The read more button links to a website where you can continue reading the Bible. The button links to either bibles.org or bible.com.