Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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

2 Answers 2

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
1  
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
1  
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

 
discard

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.