WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I avoid wordpress stripping HTML content from a custom PAGE?

share|improve this question
what kind of html? are you using the visual editor or the html editor – xLRDxREVENGEx May 27 '11 at 17:28

Use the HTML Editor instead of the WYSIWYG

The Html Editor

share|improve this answer
Yes. If you need to add custom HTML, then you should be using the HTML editor, rather than the Visual editor. – Chip Bennett May 27 '11 at 17:49
As well try not to go back and forth between visual and html. I just disable the visual since I write my own posts and when I have a guest written then I use a custom editor they submit into and it outputs the html. But most of my writers know html code – xLRDxREVENGEx May 27 '11 at 19:56

Annoyingly, anytime you go to the WSYIWYG editor, it tends to strip out certain changes, so you need to stay in the HTML editor.

share|improve this answer
as @xLRDxREVENGEx said: Don't switch back and forth. If you want to do so: Save in between. Those are different "Sub-Programs" and don't "talk" to each other. – kaiser May 27 '11 at 20:05

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.