auto br but not p for comments? (3 posts)

  1. Anonymous
    Posted 11 years ago #

    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.

  2. nicknicknick
    Posted 11 years ago #

    I'd love to know that too ;)

  3. Anonymous
    Posted 11 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.