• Hi,

    is it possible to discard any line feeds within a user’s comment? For example:

    Dear customer,
    thank you for getting in touch with us.

    should be rendered as: “Dear customer, thank you for getting in touch with us.”
    In other words: I’m looking for a parameter that removes every <p> or <br> from a comment, so that it’ll be concatenated.

    Thanks in advance & kind regards,
    Fichtenelch

Viewing 2 replies - 1 through 2 (of 2 total)
  • What if you add format=false to the shortcode?

    Thread Starter Fichtenelch

    (@fichtenelch)

    Hi Peter,
    thanks for the hint. I already put that into my code

    [comments count=5]
    <h3><a href="[comment post-url]">[comment format=false length=45]...</a></h3>
    from [comment author] in <a href="[comment post-url]">[comment title]</a>
    [/comments]

    but that had no effect.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Concatenate comment content’ is closed to new replies.