Can't Save HTML Text Widget with an Iframe
-
Topic
-
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The forum ‘Akita Responsive WordPress Theme’ is closed to new topics and replies.
This is searchable archive of our old support forums, which operated from 2012 - 2016. To find out how to get support for your current theme, please visit our support page.
Tagged: text widget
Having an odd problem: I use a third-party to process leads by embedding the form code in an iframe. Has worked great for years, and is being used successfully inside floating and anchored widgets. For some reason, when I go to save a new Text widget for a newly created floating widget, it won’t save, just spins. If I remove the HTML and just put “test” it saves fine.
Any thoughts?
Here’s the code, for what it’s worth:
<iframe src="http://resources.sightlogix.com/acton/form/1143/0067:d-0001/1/-/-/-/-/index.htm" height="600" width="100%" frameborder="0" allowfullscreen></iframe>
Hi,
In all honesty, I’m not really sure this would have anything to do with the theme. I would suggest just going through standard troubleshooting techniques.
First off, the process of saving a widget involves javascript, and so you can check the “Console” tab of your web browser developer tools. Look at the console when you click save and see if you can get an error to show that might give you a clue.
And then second, you can just do the most obvious troubleshooting technique. Start deactivating plugins one-by-one to see if one is causing a conflict with your widget saving.
Apologies, but aside from that, I’m not really sure what else I can offer you on the subject.
Well you have scored a A+ yet again. Turns out that Wordfence Security was blocking the Ajax javascript from saving an iFrame in a widget as “potentially dangerous” which was revealed on the Firebug console when trying to save that widget. I set the Firewall to “learning mode,” saved the widget, and turned the firewall back on. There’s a better way which is to whitelist the action but I have not figured out how to do that.
This info is here for others who may stumble on this.
Thanks again Jason, as always.
Eric