• Sean

    (@aristophanes)


    I would like to wrap my comments in quotation marks. I’ve tried this:

    “<?php comment_text(); ?>”

    But comment_text(); contains paragraph tags, so the closing quotation mark appears on a new line, rather than at the end of the last sentence in the comment, where I would like it.

    Making paragraph tags display as inline elements solves this problem, but of course at the expense of formatting within the comment. Ditto with doing this, which I guess ultimately does the same thing:

    “<?php $commentBody = get_comment_text(); print $commentBody; ?>”

    Is there any way to append a at the end of each comment, before the final </p> tag?

    Thanks in advance for your time.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Wrapping comments in quotation marks’ is closed to new replies.