title: hide a div in specific custom taxonomy category
body: <p>I was working on site pages <strong><a href="http://webzer.comxa.com/listing/mr-mrs-mullah/" rel="nofollow">here</a></strong> which comes in wedding category which comes in a custom taxonomy named listing.In my wedding category listing i dont want to display the price sticker but it shoud display in all other listing posts eg <strong><a href="http://webzer.comxa.com/listing/book/" rel="nofollow">this page</a></strong></p>
  
  <p>I have tried </p>
  
  <pre><code>if ( in_category( 'wedding' )) {
  ?&gt;&lt;style&gt;.pricestricker{display:none!important;}&lt;/style&gt;&lt;?php
  }?&gt;
  </code></pre>
  
  <p>also </p>
  
  <pre><code>if ( is_category( 'wedding' )) {
  ?&gt;&lt;style&gt;.pricestricker{display:none!important;}&lt;/style&gt;&lt;?php
  }?&gt;
  </code></pre>
  
  <p>also </p>
  
  <pre><code>if ( has_term('listing', 'wedding' )) {
  ?&gt;&lt;style&gt;.pricestricker{display:none!important;}&lt;/style&gt;&lt;?php
  }?&gt;
  </code></pre>
  
  <p>none of these worked.Please help.Thank You</p>