Found this content helpful? Log in or sign up to leave a like!
Insert Reftagger into Discussion Forum Posts
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2025
09:06 AM
As a theological institution, it would be helpful if in our discussion forums Bible references such as "John 3:16" was automatically tagged and have a tooltip using the following Reftagger code:
<script>
var refTagger = {
settings: {
bibleVersion: 'ESV'
}
};
(function(d, t) {
var n=d.querySelector('[nonce]');
refTagger.settings.nonce = n && (n.nonce||n.getAttribute('nonce'));
var g = d.createElement(t), s = d.getElementsByTagName(t)[0];
g.src='https://api.reftagger.com/v2/RefTagger.js';
g.nonce = refTagger.settings.nonce;
s.parentNode.insertBefore(g, s);
}(document, 'script'));
</script>
Does anybody know if this is possible and/or how to convert this script code to get it to work in discussion forums?