WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. Anonymous
    Unregistered
    Posted 10 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
    Member
    Posted 10 years ago #

    I'd love to know that too ;)

  3. Anonymous
    Unregistered
    Posted 10 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

Tags

No tags yet.