XF 2.2 How do I create xenforo syntax for an iframe embedded code

steadypixel

New member
Hi to the forum guru, I'm trying to add an embedded iframe widget code from fiverr to my html widget on my site https://naijafans.com but seems I didn't use the correct xenforo syntax. But I tried same iframe embedded code on wordpres site and it save one time and the ad codes display.

Can some one just help me with the correct line of syntax code for xenforo and the line to add the iframe code or better still point me to a documentation on this.

Thanks in advance.
 

steadypixel

New member
If it's an HTML widget then you use standard HTML.

What is the code you are trying to enter?
Thanks for your response @Brogan This is the code:


<iframe src="https://www.fiverr.com/embed_gigs?i...iliate_id=249385&strip_google_tagmanager=true" loading="lazy" data-with-title="true" class="fiverr_nga_frame" frameborder="0" height="5px" width="100%" onload='var s = document.createElement("script");s.setAttribute("src", "https://npm-assets.fiverrcdn.com/nga/onload_iframe.js");document.body.appendChild(s);' ></iframe>

Its a fiverr ads codes for widget
 

briansol

Well-known member
i tried the code and it works to the extent that all the sources do load including the 3rd party JS, but the widget itself is blank.
looks like the fivver code just isn't displaying an ad.
 

steadypixel

New member
i tried the code and it works to the extent that all the sources do load including the 3rd party JS, but the widget itself is blank.
looks like the fivver code just isn't displaying an ad.
What syntax format did you use, because when I load it, it display oops! the issue might be in the browser console. Can u help me with the format and the line to add the code.
 
Top