• Hi,
    I create my first WP Theme. I have question about WP Editor. When I wrote post or page in HTML editor and after I switch to Visual and back to HTML editor are some HTML tags and entities hidden (esp.: <p>, <div>,  ,  ), but when I look to source code of generated pages all tags is all right. Exist some hacks to appear all tags in WP HTML editor? The <div> tag I solved by extend elements of tinyMCE Editor, but <p> and   are probably hiding directly by WP.
    Thanks for response. JS

Viewing 1 replies (of 1 total)
  • If you write html in the editor, do not open it in the visual editor. Your paragraph tags will be replaced by 2 \n s which are then replaced by paragraphs by wpautop. There are plugins to disable wpautop and the visual editor.

Viewing 1 replies (of 1 total)
  • The topic ‘Why WP hide and tags’ is closed to new replies.