• Hey,

    I’m using the following code to generate an excerpt for comments:

    <?php echo wp_html_excerpt( $comment->comment_content, 255 ); ?>

    I’ve limited the length to be 255 characters show and want to have ellipses follow any posts that are longer (and not show when they are shorter). Is it possible to do that using this method?

    Thanks,
    Lindsey

  • The topic ‘Add ellipses to comment excerpt using wp_html_excerpt’ is closed to new replies.