title: How to display custom taxonomy fields into category loop?
body: <p>I have that code in my category.php which enables list subcategories</p>
  
  <pre><code>&lt;?php $categories = get_categories(array('child_of' =&gt; 7)); ?&gt;
  &lt;?php foreach ($categories as $child) { ?&gt;
  //do stuff
  &lt;?php } ?&gt;
  </code></pre>
  
  <p>For categories I've created custom text field with name = text. And now I want to show that custom field inside this loop. Can you help me please? I've tryed</p>
  
  <pre><code>&lt;?php $categories = get_categories(array('child_of' =&gt; 3)); ?&gt;
  &lt;?php foreach ($categories as $child) { ?&gt;
  &lt;h2&gt;&lt;?php echo $child-&gt;cat_name; ?&gt;&lt;/h2&gt;
  &lt;p&gt; &lt;?php echo $child-&gt;category_description; ?&gt; &lt;/p&gt;
  &lt;p&gt;&lt;?php echo get_field( 'text', $term-&gt;taxonomy . '_' . $term-&gt;term_id ); ?&gt;&lt;/p&gt;
  &lt;?php } ?&gt;
  </code></pre>
  
  <p>This code show Cat name, cat description but no custom field.. Help me please to do that.</p>