title: get acf value for taxonomy
body: <p>I am using advanced custom field(image upload) and the rule is to show that field if taxonomy term is product category.</p>
  
  <p>The image upload field is showing properly on product category page in admin and the file is being uploaded properly.</p>
  
  <p>Now I want to fetch the value using get field. My code is like</p>
  
  <pre><code>$current_term = get_term_by( 'slug', get_query_var( 'term' ), get_query_var( 'taxonomy' ) );
  $image = get_field('product_cat_banner',$current_term-&gt;taxonomy.'-'.$current_term-&gt;term_id);
  </code></pre>
  
  <p>And it returns nothing.As stated <a href="http://www.advancedcustomfields.com/resources/get-values-from-a-taxonomy-term/" rel="nofollow">here</a>, I have done exactly the same but can't understand why it's not getting the value.</p>
  
  <p>Any help is highly appreciated. Thanks in advance.</p>