Wordpress disables code editor formatting for page

So, I have a wordpress page where I need to insert a block of html code, but when I output with the_content(), you know that wp wraps things in <p>, etc., so I want THAT PAGE to echo from the exact code. which I insert into the editor without this automatic formatting, there is a function or something else, I searched and found wpautop, but it does not work.

0
source share
2 answers

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

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

0

, , , , .

HTML-, .

0

All Articles