Form makes Wordpress widgets disappear

User 2465431 Photo


Registered User
2 posts

Hi
I inserted the form into locally hosted Wordpress "Seed" theme and it makes all the sidebar widgets under the form disappear and the footer too. If I don't have a form in sidebar and have 1 in the widget footer, only the bottom footer disappears. I have adjusted the form with the following code

Form code for Sidebar
<script type="text/javascript">document.write(unescape("%3Ciframe id=\"fb_iframe\" src=\"/NewsletterSignUpSide.php" + window.location.search + "\" width=\"275\" height=\"479\"allowtransparency=\"true\" scrolling=\"no\" frameborder=\"0\"%3E&lt;a href=\"/NewsletterSignUpSide.php\" title=\"NewsletterSignUpSide\"&gt;Check out my CoffeeCup Form&lt;/a&gt;%3C/iframe%3E"));</script>
<noscript>
<iframe width="275" height="479" style="border:none; background:transparent; overflow:hidden;"
id="fb_iframe" src="/NewsletterSignUpSide/NewsletterSignUpSide.html">
&lt;a href="/NewsletterSignUpSide.php" title="NewsletterSignUpSide"&gt;Check
out my CoffeeCup Form&lt;/a&gt;
</iframe>

Form code for footer
<script type="text/javascript">document.write(unescape("%3Ciframe id=\"fb_iframe\" src=\"/NewsletterSignUpFooter.php" + window.location.search + "\" width=\"300\" height=\"524\"allowtransparency=\"true\" scrolling=\"no\" frameborder=\"0\"%3E&lt;a href=\"/NewsletterSignUpFooter.php\" title=\"NewsletterSignUpFooter\"&gt;Check out my CoffeeCup Form&lt;/a&gt;%3C/iframe%3E"));</script>
<noscript>
<iframe width="300" height="524" style="border:none; background:transparent; overflow:hidden;"
id="fb_iframe" src="/NewsletterSignUpFooter/NewsletterSignUpFooter.html">
&lt;a href="/NewsletterSignUpFooter.php" title="NewsletterSignUpFooter"&gt;Check
out my CoffeeCup Form&lt;/a&gt;
</iframe>

Can anyone please help, I've attached images of what the page side looks like before and after inserting form.
Thanks
Attachments:
User 187934 Photo


Senior Advisor
20,271 posts

Try dropping the script part of the form iframe and use just what's inside the the iframe tags.
<iframe width="300" height="524" style="border:none; background:transparent; overflow:hidden;"
id="fb_iframe" src="/NewsletterSignUpFooter/NewsletterSignUpFooter.html">
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2465431 Photo


Registered User
2 posts

Thanks Eric, that works perfectly. Appreciate your help.

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.