Forums

Removing from post content (2 posts)

  1. egilarntzen
    Member
    Posted 1 year ago #

    When you write content in the pages-admin it automatically creates <p>'s which is very anoying. Does anyone know how to remove these?

    http://validator.w3.org/check?uri=http%3A%2F%2Fwww.interiorverksted.no&charset=%28detect+automatically%29&doctype=Inline&ss=1&group=0&user-agent=W3C_Validator%2F1.654#line-124

    http://www.interiorverksted.no

    Thanks.

  2. Joseph
    Member
    Posted 1 year ago #

    You could try adding remove_filter ('the_content','wpautop'); to your functions.php but you're meant to put pharagraphs inside <p> tags instead of using <br />.

Topic Closed

This topic has been closed to new replies.

About this Topic