I have to add line breaks in a h1 paragraph using the visual editor. On every line break Wordpress automatically adds h1 tags to every new line.



How can I prevent the code on top and instead get:

<h1>Watsup<br />

Note: I can't use the text editor. It has to work with visual editor.

1 Answer 1


Use Shift + Enter.

Soft and Hard Returns.

  • Thanks I tried. It doesn't create new lines when viewing the HTML. Nov 16, 2014 at 17:35
  • disable plugins, switch to a default theme and test.
    – Milo
    Nov 16, 2014 at 17:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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