title: How to get post by tag_id of the category
body: <pre><code>wp-admin/edit-tags.php?action=edit&amp;taxonomy=category&amp;tag_ID=3&amp;post_type=post
  </code></pre>
  
  <p>This is the link when I click on the backend category name:</p>
  
  <pre><code>$args = array( 'post_type' =&gt; 'post' , 'orderby' =&gt; 'menu_order' , 'order' =&gt; 'ASC' , 'posts_per_page' =&gt; -1);
  </code></pre>
  
  <p>By using this I want to display the post for that particular category of <code>tag_id=3</code>.  How can I do this?</p>
  
  <p>This is the full code:</p>
  
  <pre><code>&lt;div class="gallery"&gt;
  
  &lt;?php
  $i = 1;
  $args = array( 'post_type' =&gt; 'post' , 'orderby' =&gt; 'menu_order' , 'order' =&gt; 'ASC' , 'tag_id'=&gt; 3 , 'posts_per_page' =&gt; -1);
  $wp_query = new WP_Query($args);
  $count = $wp_query-&gt;found_posts; 
      while ( have_posts() ) : the_post(); 
  
      $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post-&gt;ID ), 'single-post-thumbnail' );
  ?&gt;
   &lt;a href="&lt;?php echo $image[0]; ?&gt;" title="&lt;?php the_title();?&gt;"&gt;&lt;?php if ( has_post_thumbnail() ) { the_post_thumbnail('thumbnail'); }?&gt;&lt;/a&gt;
  
  &lt;?php $i++; endwhile;?&gt;  
  
  &lt;/div&gt;
  </code></pre>