Support » Fixing WordPress » auto br but not p for comments?

  • Anonymous

    I know how to turn off the automatic line and paragraph breaks by commenting out:
    add_filter(‘comment_text’, ‘wpautop’);
    in the vars.php file. But I wanted to know if there was a way to get rid of the automatic paragraph breaks but keep the automatic line breaks for the comments.

Viewing 2 replies - 1 through 2 (of 2 total)
  • nicknicknick

    (@nicknicknick)

    I’d love to know that too 😉

    Anonymous

    Why not just use CSS to turn off the margins of paragraphs in comments? That preserves the semantics while providing the aesthetics you want.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘auto br but not p for comments?’ is closed to new replies.