Title: get_comment_text
Last modified: August 31, 2016

---

# get_comment_text

 *  [guskyr](https://wordpress.org/support/users/guskyr/)
 * (@guskyr)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/get_comment_text/)
 * I would like to get comment text to recent comments on sidebar,
    by default the
   widget getting author’s name and the page the comment was made on
 * i found the current issue about getting comment text
    [http://hookr.io/functions/get_comment_text/](http://hookr.io/functions/get_comment_text/)
 * but i can’t understand what to do
 * thanx

Viewing 1 replies (of 1 total)

 *  [Madhusudan Pokharel](https://wordpress.org/support/users/madhusudan977/)
 * (@madhusudan977)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/get_comment_text/#post-7063659)
 * Hello,
    The default recent comment widget can be customized as well to display
   the comment text only.You need to remove author’s name, the page name and replace
   them with the comment text of required length.

Viewing 1 replies (of 1 total)

The topic ‘get_comment_text’ is closed to new replies.

## Tags

 * [comment template](https://wordpress.org/support/topic-tag/comment-template/)
 * [sidebar](https://wordpress.org/support/topic-tag/sidebar/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Madhusudan Pokharel](https://wordpress.org/support/users/madhusudan977/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/get_comment_text/#post-7063659)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
