Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
I tried it didnt work bro : like below
<script type=”text/javascript” src=”http://labs.bible.org/api/NETBibleTagger/v2/netbibletagger.js”>
It does not show anything at all
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
What’s supposed to happen? The code isn’t throwing an error.
My friend thanks for your interest , let me narrate this;
In this website link i would like to add a script provided by bible.org.
which is actually a widget, this widget will update daily verses every day.
for more clarity i have attached an image which is what am referring to:
http://immanuelministries.co.in/test/read-the-word-of-god/
just below the image i have used the script but it doesnot do anything at all
Please look into it, i hope am make it crisp and clear.
I read this already but still it confuses me a lot, i tries adding the script location to the header of the site.
However the results are not good
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Andrew that’s just a screenshot i have added to the page for your reference . that’s a screenshot to show how i got the code and how it should look, after embedding the code in the page.
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Oh I see. So it looks like there needs to be an element with a certain ID on the page for this to work – and there is indeed that element. Do you know anything about this? If not, someone would have had to have added that element in, perhaps they can provide more information?
Thanks andrew, But unfortunately am unaware of that i did try few plugins as well but they failed to work. may be i chose a plugin which was not functioning.
Andrew – if i have to go with this link https://codex.wordpress.org/Using_Javascript what am i suppose to do. is it possible that you can direct and we can give a try.
I have to add many javascripts inside the page. so it is important.
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
There is one problem before you do that. At the moment, your theme’s JavaScript file is throwing an error. Errors in one JavaScript file will break all other JavaScript files that are loaded after. Fortunately at the moment your current bible JavaScript is loaded before this theme file, which means this error currently is just a red herring.
If you were however to use the “Using Javascript” article outlined in that Codex resource, your JavaScript would load after the theme’s erroneous JavaScript file and then your code would break no matter what.
So, I don’t think you should go down that “Using JavaScript” route just yet.
okay so Andrew if i got you right, either i need to change the theme which supports javascript or just not to use any javascript in the current theme.
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
What I think you should do is ask your theme authors/ developers for help here: https://wordpress.org/support/theme/zerif-lite#postform
Ask them how to stop your theme’s “zerif.js” file from throwing a JavaScript error on this Webpage: http://immanuelministries.co.in/test/read-the-word-of-god/
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
oh okay i see that.
Andrew I appreciate all your time and effort i have created a thread from my end.
https://wordpress.org/support/topic/a-serious-help-zerifjs-file-throwing-a-javascript-error?replies=1
What ever you are doing its great.
For now i shall close this thread and wait for the theme forum.