Title: Problem with comment
Last modified: August 30, 2016

---

# Problem with comment

 *  [vikaswp](https://wordpress.org/support/users/vikaswp/)
 * (@vikaswp)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/problem-with-comment-4/)
 * I am having problem with a plugin named Ratingwidget. Problem is that It’s not
   showing ratings for my comments. When I troubleshooted it, I found a problem 
   with my theme’s comment section coding and a suggestion for the developer. Please
   go to the link for the same and help in fixing the issue.
 * [http://rating-widget.com/support/troubleshooting/the-ratingwidget-wordpress-plugin-dont-show-ratings-on-my-comments-whats-wrong/#platform](http://rating-widget.com/support/troubleshooting/the-ratingwidget-wordpress-plugin-dont-show-ratings-on-my-comments-whats-wrong/#platform)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [bdbrown](https://wordpress.org/support/users/bdbrown/)
 * (@bdbrown)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/problem-with-comment-4/#post-6243270)
 * Hi vikaswp. You said:
 * >  I found a problem with my theme’s comment section coding
 * Can you post the code you found that is a problem?
    For normal comments the theme
   uses the default WP wp_list_comments function:
 *     ```
       <ol class="commentlist">
          <?php wp_list_comments( 'avatar_size=96&type=comment' ); ?>
       </ol><!--/.commentlist-->
       ```
   
 * For pings it uses the comment_text function as suggested in the link you posted
   above:
 *     ```
       foreach ($pings as $comment) { ?>
          <li class="ping">
             <div class="ping-link"><?php comment_author_link($comment); ?></div>
             <div class="ping-meta"><?php comment_date( get_option( 'date_format' ), $comment ); ?></div>
             <div class="ping-content"><?php comment_text($comment); ?></div>
          </li>
       <?php } ?>
       ```
   
 *  Thread Starter [vikaswp](https://wordpress.org/support/users/vikaswp/)
 * (@vikaswp)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/problem-with-comment-4/#post-6243326)
 * Actually I didn’t get what I really need to do? A little bit more information
   would be appreciated.
 *  [bdbrown](https://wordpress.org/support/users/bdbrown/)
 * (@bdbrown)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/problem-with-comment-4/#post-6243329)
 * For the actual comments section the theme doesn’t build the structure. It uses
   the default WordPress function “wp_list_comments”. I’m not sure if that uses “
   comment_text()” or “get_comment_text()” or something else, but it’s in the WP
   core code. For pings, the theme does build the structure and it already uses 
   the “comment_text()” function as was recommended by the support topic you posted.
   You said you had found a problem with the theme coding. If you can post that 
   code I’ll take a look at it. Other than that you might go back to the plugin 
   support center and see if they have any other suggestions.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Problem with comment’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/hueman/3.7.27/screenshot.png)
 * Hueman
 * [Support Threads](https://wordpress.org/support/theme/hueman/)
 * [Active Topics](https://wordpress.org/support/theme/hueman/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/hueman/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/hueman/reviews/)

## Tags

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

 * 3 replies
 * 2 participants
 * Last reply from: [bdbrown](https://wordpress.org/support/users/bdbrown/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/problem-with-comment-4/#post-6243329)
 * Status: not resolved