title: Show star ratings in comments
body: <p>I followed the steps in this article: <a href="https://cssigniter.com/add-rating-wordpress-comment-system" rel="nofollow noreferrer">cssigniter.com/add-rating-wordpress-comment-system</a> to add a star rating to the comments system... but when I list the comments with the code below the stars are not showing up I have tried what seems like a million things and I can not seem to figure out why the stars are not showing up. </p>
  
  <p>Here is the code I am using to pull the comments</p>
  
  <pre><code>    if ( is_user_logged_in() ) { 
  
      $user_id = get_current_user_id(); $args = array( 'status' =&gt; 'approve', 'user_id' =&gt; $user_id ); 
      $comments = get_comments($args); 
      foreach($comments as $comment) : echo '&lt;p&gt;';    
      $post_id = $comment-&gt;comment_post_ID;
      $member_name = get_post( $comment-&gt;comment_post_ID );
  
      echo (  ' &lt;div style="color: #00205a;"&gt; ' . mysql2date(get_option('date_format'), $comment-&gt;comment_date) . ' - &lt;/div&gt;' . '&lt;a style="color:#a27747;" href="' . get_permalink( $comment-&gt;comment_post_ID ) . '"&gt;' . $member_name-&gt;post_title . '&lt;/a&gt;&lt;br /&gt;' . '(stars go here)' . '&lt;br /&gt;' . $comment-&gt;comment_content ). '&lt;br /&gt;&lt;br /&gt;';
  
  
      echo '&lt;/p&gt;'; 
      endforeach; 
      } 
  </code></pre>