• Resolved richardhenry

    (@richardhenry)


    I don’t wish for line breaks in comments to be converted to paragraphs. Is there any way to get around this?

    For example, a visitor types:

    Hello there,

    I was just visiting your blog!

    Bye now.

    I would like to display:

    Hello there, I was just visiting your blog! Bye now.

    Thanks in advance for any help anyone is able to provide!

    Richard

Viewing 1 replies (of 1 total)
  • I believe you can do that by editing default-filters.php and comment out this line:

    add_filter('comment_text', 'wpautop', 30);

    no guarantees on what else it will do though

Viewing 1 replies (of 1 total)
  • The topic ‘Stop line breaks in comments being converted to paragraphs’ is closed to new replies.