I would welcome any comments on this plugin. If you have suggestions about how I wrote the plugin, or experience problems with it, or if you would like something added to it, please let me know!
Description
Bible Verse Display allows you to add a bible verse as a widget, in a post, or on a page. The verse can be Biblegateway’s Verse of the Day, or one randomly chosen from your nominated favorite verses. Several versions of the Bible are available. When nominating your favorites, verse lookups are automatically done so no typing of verses is necessary.
- to nominate your favorite verses, simply enter in the verse reference. Bible Verse Display will look up the verse for you. No manual typing in of the verse is necessary!
- you can select from several different bible versions
- you can have it display a verse randomly from your favorites, or display Biblegateway’s Verse of the Day
- Bible Verse Display Widget included
How to Use
Once the plugin is installed and activated, you will see a link to Bible Verse Display under ‘Settings’ in the WordPress back end. Here you can add and remove your favorite verses as well as set the default Bible version and whether you want Biblegateway’s Verse of the Day or your own verses to be displayed by default (the settings here apply when you use the shortcode with no parameters).
- To use the widget:
- Go to the widgets page and drag the Bible Verse Display widget to the location you want
- Set the options as you want
- To use the shortcode:
- In your post or page enter in [bible-verse-display]
- available parameters: version (niv, asv, esv, kjv, nkjv, nasv), type (fav, bg), class
e.g. [bible-verse-display version=”esv”, type=”fav”, class=”myclass”]
- To use the shortcode in your template:
- In your index.php (or whetever template page you are altering) where you want the verse to appear, put in <?php echo do_shortcode(“[bible-verse-display]”); ?>
- Parameters above also apply
Compatibility
I have only tested this plugin on WordPress 2.9.2 since that is the platform I wrote it on.
Installation
Install the plugin automatically from WordPress (go to Plugins -> Add New) OR
Install manually
- Unzip the plugin files to the ‘/wp-content/plugins/bible-verse-display/’ directory
- Activate the plugin through the ‘Plugins’ menu in WordPress
- Set your preferred settings through the Bible Verse Display section under WordPress’ Settings menu
Frequently Asked Questions
- How can I style the verses?
- The verses are contained in a div tag whether you use the widget or the shortcode. The div class for the widget is called bvdwidget. For the shortcode, if you do not specify a class in the parameters, the class is called bvdshortcode; otherwise, it is whatever you specified. Simply add the class to your theme’s css file and style it as you desire.
Screenshots
See Screenshot 1
Download
Version 1.1 Right-click and choose Save as or Save link as
Changelog
Version 1.0 — April 1 2010
- Plugin launched
Version 1.1 — April 1 2010
- Fixed bug with regards to the NASV and Favorite verses
- Fixed bug with regards to different versions of biblegateway’s Verse of the Day
- Added class parameter to shortcode
- Added The Message as a Bible version
Spanish?
So far I only implemented the most common English versions of the Bible… but it shouldn’t be a big deal to add in non-English versions as well! I’ll do that with the next update. I see Biblegateway has a few Spanish versions… which are the more common/used ones?
Please add the Romanian Bible (RCB) – Biblia Cornilescu (1921; 2002) too. Thanks a lot!
I have it running in WP 3.0.1. I also have reftagger from Logos Bible Software running which will allow the viewer go to the full context of the passage and do other things.
I really need to change the font color of the displayed text but do not know enough PHP or CSS to make that change.