Good morning everyone,
I need to be able to insert this piece of code
into an article, so using the text editor (richtext).
I searched the forum and saw some examples of how to implement an "iframe" using shortcodes, but I didn't understand if, in addition to editing the kfunctions.php file, you also need to insert some tags inside the file i need that code.
I also tried directly to implement the iframe function, to see if it worked, but in fact it doesn't work.
Can anyone give me pointers on this?
Thank you
I need to be able to insert this piece of code
- Code: Select all
<a href="https://www.iubenda.com/privacy-policy/xxxxxxxxx" class="iubenda-white no-brand iubendanoiframe iubenda-embed iub-legal-only iubenda-noiframe iub-body-embed" title="Privacy Policy">Privacy
Policy</a><script type="text/javascript">(function (w,d) {var loader = function () {var s =
d.createElement("script"), tag = d.getElementsByTagName("script")[0];
s.src="https://cdn.iubenda.com/iubenda.js"; tag.parentNode.insertBefore(s,tag);};
if(w.addEventListener){w.addEventListener("load", loader, false);}else
if(w.attachEvent){w.attachEvent("onload", loader);}else{w.onload = loader;}})(window, document);</script>
into an article, so using the text editor (richtext).
I searched the forum and saw some examples of how to implement an "iframe" using shortcodes, but I didn't understand if, in addition to editing the kfunctions.php file, you also need to insert some tags inside the file i need that code.
I also tried directly to implement the iframe function, to see if it worked, but in fact it doesn't work.
Can anyone give me pointers on this?
Thank you