I'm working on a local WordPress site, and for some reason there is an iframe
added just after the opening body
tag which makes the body to drop down about 20px.
Google only returned 1 relevant result when searching for it, and what I read there didn't help much. It can be found here.
The WordPress site has no plugins installed, and setting it to display: none;
doesn't work.
Here's a screenshot from Chrome so you can see it:
It seems like it is added by the Twitter script. If you remove it the iframe will disappear. It sure looks like you have the Twitter plugin installed in some way or the other as you can see it says data-twttr-rendered="true" in the body tag.
If you remove the code - in my case the code below - it will disappear
<script type="text/javascript"> (function(){ var twitterWidgets = document.createElement('script'); twitterWidgets.type = 'text/javascript'; twitterWidgets.async = true; twitterWidgets.src = '//platform.twitter.com/widgets.js'; document.getElementsByTagName('head')[0].appendChild(twitterWidgets); })(); </script>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With