title: How to display post_types from each taxonomy with comment
body: <p>I am able to show taxonomy and post_type list under each taxonomy, however, i want to show 1 comment from each post_type as well but no success.</p>
  
  <pre><code>&lt;?php 
  
  $custom_terms = get_terms('article-category');
  
  foreach($custom_terms as $custom_term) {
  wp_reset_query();
  $args = array(
      'parent'=&gt;0,
      'post_type' =&gt; 'article',
      'tax_query' =&gt; array(
          array(
              'taxonomy' =&gt; 'article-category',
              'field' =&gt; 'slug',
              'terms' =&gt; $custom_term-&gt;slug,
          ),
      ),
   );
  
   $loop = new WP_Query($args);
   $comments = get_comments($args); // trying to get 1 comment for each post_type
   if($loop-&gt;have_posts()) {
      echo '&lt;h2&gt;'.$custom_term-&gt;name.'&lt;/h2&gt;';
  
      while($loop-&gt;have_posts()) : $loop-&gt;the_post();
          echo '&lt;a href="'.get_permalink().'"&gt;'.get_the_title().'&lt;/a&gt;&lt;br&gt;';
          echo($comment-&gt;comment_content); // but not showing
      endwhile;
   }
  }
  
  ?&gt;
  </code></pre>
  
  <p>Below is an example that is working, it's showing each taxonomy as category and post_type as article 1, 2, 3 but I am not able to succeed on showing 1 comment from each post_type article. Each article has 1 comment only.</p>
  
  <pre><code>Category 1
   article 1 title
     1 recent comment from article 1  // this is not displaying
  
   article 2 title
     1 recent comment from article 2 // this is not displaying
  
   article 3 title
     1 recent comment from article 3 // this is not displaying
  
  Category 2
   article 1 title
     1 recent comment from article 1 // this is not displaying
  
   article 2 title
     1 recent comment from article 2 // this is not displaying
  
   article 3 title
     1 recent comment from article 3 // this is not displaying
  </code></pre>