Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Widget code is showing error

$
0
0

Replies: 0

Hello Everyone !!
I am writing blog on crypto currency. I am affiliate with changelly.com. When i tried to install their html custom code in widget. It is showing error that ” The attribute name of [on Load] must be in lower case.
Here is the code:
<script src="https://widget.changelly.com/affiliate.js"></script> <iframe src="https://widget.changelly.com?currencies=*&from=btc&to=eth&amount=1&address=&fiat=true&fixedTo=false&theme=desert&merchant_id=xxxxxxxxxxxxxxxx" width="100%" height="600" class="changelly" scrolling="no" onLoad="function A(e){var t=e.target,n=t.parentNode,r=t.contentWindow,a=function(){return r.postMessage({width:n.offsetWidth},g.url)};window.addEventListener('resize',a),a()};A.apply(this, arguments);" style="min-width: 100%; width: 100px; overflow-y: hidden; border:

I made it lowercase as well. But when i update on website. It is showing error that

Widget is not allowed on this domain

If you are the owner of the site, to make the widget visible, you need to open the widget settings page and provide your domain name, where the widget will be displayed.

I tried this with different theme as well.
Pls help me out.

  • This topic was modified 11 minutes ago by Steve Stern.
  • This topic was modified 11 minutes ago by Steve Stern.

Viewing all articles
Browse latest Browse all 59525

Trending Articles