Hello,
Every since the new update WordPress has been stripping HTML. Everytime I paste HTML Code in the HTML View and then switch back to Wysywig mode the HTML gets stripped out. Is there a fix for this?
Hello,
Every since the new update WordPress has been stripping HTML. Everytime I paste HTML Code in the HTML View and then switch back to Wysywig mode the HTML gets stripped out. Is there a fix for this?
It depends on what the HTML is. Sometimes wordpress will strip out dangerous code (iframe) or bad code, for example:
<div>
<h3>
Hello World, this is bad code!
</div>
</h3>
If you want specifics you'll have to copy/paste the code you're trying to insert.
It's generally embed codes from YouTube. So yes, sometimes it's <iframe>. How do I get it to stop???
You could use something like this: Embed Iframe which uses a shortcode to replace the embed code.
More info on how that works here: http://wpgarage.com/tips/stop-wordpress-stripping-iframe-html/
Hope this helps!
This topic has been closed to new replies.