title: Advanced Custom Fields Sub_Field in Archive Page
body: <p>I am using ACF plugin with repeater addon in Wordpress, Normally in archive.php I can use <code>get_field</code> or <code>the_field</code> functions and these are showing posts' data. (ex: title)</p>
  
  <p>In single.php there is no problem, When i want to use <code>the_sub_field</code> or <code>get_sub_field</code> in <code>archive.php</code>, </p>
  
  <p><a href="http://i.stack.imgur.com/3n2dP.png" rel="nofollow">Image of Repeater Field Name</a></p>
  
  <p>In <code>archive.php</code>, the example below shows me No word. How can I see the Yes word? What should I do? Thank you.</p>
  
  <pre><code>&lt;?php
      if( have_rows('add_content') ):
          echo "Yes";
      else :
          echo "No";
      endif;
  ?&gt;  
  </code></pre>