title: show empty message on empty taxonomy wordpress
body: <p>im working on wordpress theme and everything goes fine but i have this problem </p>
  
  <p>i make a php page "taxonomy.php" it shows custom taxonomy posts</p>
  
  <p>the problem i have if i visit empty taxonomy it shows me a posts from other taxonomy insted of showing error message </p>
  
  <p>the code i use to display:</p>
  
  <pre><code>&lt;?php 
  get_header();  
  $temp = $wp_query; 
  $wp_query = null; 
  $wp_query = new WP_Query(); 
  $wp_query-&gt;query('showposts=9&amp;post_type=covers'.'&amp;paged='.$paged); 
  $term = $wp_query-&gt;queried_object;
  
  ?&gt; 
  
  &lt;div id="primary" class="site-content span12"&gt;
    &lt;div id="content" class="entry-content" role="main"&gt;
          &lt;?php
  $product_terms = wp_get_object_terms($post-&gt;ID, 'cover_category');
  if(!empty($product_terms)){
    if(!is_wp_error( $product_terms )){
      foreach($product_terms as $term){
  
        echo '&lt;h4 style="color:#cb2027"&gt;'.$term-&gt;name.'&lt;/h4&gt;'; 
  
        //Category Desciprion
        echo '&lt;h6 style="color:#cb2027"&gt;'.term_description($term-&gt;term_id, 'cover_category').'&lt;/h6&gt;'; 
      }
    }
  }
  
  
  ?&gt;
  
  
  &lt;?php while ($wp_query-&gt;have_posts()) : $wp_query-&gt;the_post(); ?&gt;
  &lt;h5&gt;&lt;?php the_title(); ?&gt;&lt;/h5&gt;
  &lt;?php endwhile; ?&gt;
  &lt;?php get_footer(); ?&gt;
  </code></pre>
  
  <p>Now if i visit this 
  <code>http://localhost/wp/?cover_category=as</code> -> this taxonomy <strong>as</strong> have 6 posts and show them correct</p>
  
  <p>if i visit this <code>http://localhost/wp/?cover_category=wawa</code> -> this taxonomy <strong>wawa</strong> have 0 posts and it show posts from <strong>as</strong> taxonomy</p>