Skip to content Skip to sidebar Skip to footer

Wordpress Disable Code Editor Formatting For A Page

So I have a wordpress page where I need to paste a block of html code, but when I output using the_content() you know that wp wraps things in

and so on, so I want for THA

Solution 1:

You can switch from the WYSIWYG-View to the HTML-View by clicking the tab at top right corner of the editor window.

There you can inset your raw code surrounded by <pre></pre> tags.

Solution 2:

If you mean you want code that will execute, and not be seen, then you might try stampede design's solution.

There is also a raw HTML plugin that might help.

Post a Comment for "Wordpress Disable Code Editor Formatting For A Page"