Bible Verse Plugin with Random Daily Verse

Page 1 of 1 (5 items)
This post has 4 Replies | 1 Follower

Posts 1646
Nathan Parker | Forum Activity | Posted: Sat, Mar 21 2015 3:45 PM

Is there a way to have a Bible Verse plugin similar to this:

http://biblia.com/plugins/BibleVerse

But have it randomly change the Bible verse daily? A church website I'm working on is asking about that.

The church is a KJV-only church, so the Verse of the Day plugin isn't a good option.

Thanks!

Nathan Parker

President/CEO

Mallard Computer, Inc.

Posts 1215
LogosEmployee
David Mitchell | Forum Activity | Replied: Sat, Mar 21 2015 3:50 PM

We have no current plans to implement such a feature, but you could accomplish this by dynamically generating the widget url when you render the page. (if the page is static, you could accomplish something similar using Javascript when the page loads)

David Mitchell
Development Lead
Faithlife

Posts 1646
Nathan Parker | Forum Activity | Replied: Sat, Mar 21 2015 3:53 PM

David Mitchell:

We have no current plans to implement such a feature, but you could accomplish this by dynamically generating the widget url when you render the page. (if the page is static, you could accomplish something similar using Javascript when the page loads)

It's in WordPress, so should be able to do that. How would I edit the widget to dynamically generate the URL with a new verse?

Nathan Parker

President/CEO

Mallard Computer, Inc.

Posts 1215
LogosEmployee
David Mitchell | Forum Activity | Replied: Sat, Mar 21 2015 3:59 PM

Nathan Parker:
How would I edit the widget to dynamically generate the URL with a new verse?

When you configure the widget, you should see a shortened form of the Bible verse (a two or three letter book abbreviation followed by the chapter, a '.', and then the verse) in the url. If you change this, it will change the verse that is loaded.

If you do this, you'll want to remove the <blockquote> element from the source, as it will not update dynamically.

David Mitchell
Development Lead
Faithlife

Posts 1646
Nathan Parker | Forum Activity | Replied: Tue, Mar 24 2015 12:39 PM

David Mitchell:

Nathan Parker:
How would I edit the widget to dynamically generate the URL with a new verse?

When you configure the widget, you should see a shortened form of the Bible verse (a two or three letter book abbreviation followed by the chapter, a '.', and then the verse) in the url. If you change this, it will change the verse that is loaded.

If you do this, you'll want to remove the <blockquote> element from the source, as it will not update dynamically.

Sounds good. I'll look into it.

By the way, I ran into an issue with this plugin: http://biblia.com/plugins/BibleSearchBox. Even though I set the KJV as the version in the code, when members of the church accessed it, they got results back in the ESV. The pastor actually flooded my phone with calls while I was in a class telling me to look into it. I went ahead and pulled the code for now (so I can get my studies done), but if you can dobule-check the widget and see what it's doing for you, I'll try to test it later and see if I can reinstate it.

Thanks!

Nathan Parker

President/CEO

Mallard Computer, Inc.

Page 1 of 1 (5 items) | RSS
Copyright 1992-2015 Faithlife / Logos Bible Software.