Using Verse of the day with Wordpress

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

Posts 3
Wayne E. Frazier | Forum Activity | Posted: Sat, Jul 8 2017 4:11 PM

I have pasted the following code as copied from Biblia.com in my home page and as a widget (both using html).

<!-- Verse of the Day. https://biblia.com/plugins/verseoftheday -->
<biblia:verseoftheday resource="esv" width="300" height="250" singleImage="false" theme="imagebased" variant="dark"></biblia:verseoftheday>
<!-- If you’re including multiple Biblia widgets, you only need this script tag once -->
<script src="//biblia.com/api/logos.biblia.js"></script>
<script>logos.biblia.init();</script>

When I view the site the only thing that displays is "biblia.com/api/logos.biblia.js".

Any Suggestions?

Posts 769
Justin Gatlin | Forum Activity | Replied: Fri, Jul 21 2017 11:28 AM

I am not at my computer,  but it seems like

<script src="//biblia.com/api/logos.biblia.js"></script> should be

<script src="http://biblia.com/api/logos.biblia.js"></script>

Posts 3
Wayne E. Frazier | Forum Activity | Replied: Sat, Jul 22 2017 5:32 AM

After following your suggestion:

<!-- Verse of the Day. https://biblia.com/plugins/verseoftheday -->

<!-- If you’re including multiple Biblia widgets, you only need this script tag once -->
<a href="http://biblia.com/api/logos.biblia.js">http://biblia.com/api/logos.biblia.js</a>
logos.biblia.init();

The page displays :

Posts 769
Justin Gatlin | Forum Activity | Replied: Sat, Jul 22 2017 9:33 AM

Try this

<!-- Verse of the Day. https://biblia.com/plugins/verseoftheday -->

<script type="text/javascript" src="http://biblia.com/api/logos.biblia.js"></script>
<script type="text/javascript">logos.biblia.init();</script>
<biblia:verseoftheday resource="esv" width="300" height="250" singleImage="false" theme="imagebased" variant="dark"></biblia:verseoftheday>

Posts 3
Wayne E. Frazier | Forum Activity | Replied: Wed, Jul 26 2017 8:58 AM

I copied and pasted what you typed into a widget and it gets converted to the following

<!-- Verse of the Day. https://biblia.com/plugins/verseoftheday -->

<a href="http://biblia.com/api/logos.biblia.js">http://biblia.com/api/logos.biblia.js</a>
logos.biblia.init();

when I save it.

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