title: Wordpress: Retriving posts of a specific custom category in a custom taxonomy
body: <p>I am able to retrieve all the posts from a custom category with this call to WP_Query</p>
  
  <pre><code>$q = new WP_Query(array( 'taxonomy' =&gt; 'jh-portfolio-category',
                            'term' =&gt; 0, 'post_type' =&gt; 'jh-portfolio' ));
  </code></pre>
  
  <p>However, let say within the jh-portfolio-category taxonomy I have defined some sub-categories, how do I specify I wish to have posts from a specific sub-category? Changing the 'term' property to the term_id as presented in wp_term_taxonomy doesn't seem to work. All the posts within that taxonomy is still being listed.</p>