title: ACF: custom fields and archive.php
body: <p>I know there are a lot of information about this problem - but i tried all that I could find, so I need a help</p>
  
  <p>There is a simple case - I registered new post type and add tags:</p>
  
  <pre><code>add_action('init', 'add_video_type');
  function add_video_type() {
  $args = array(
  'labels' =&gt; array(
  'name' =&gt; 'Video',
  'singular_name' =&gt; 'video',
  'add_new' =&gt; 'Add new video'
  ),
  'public' =&gt; true,
  'has_archive' =&gt; true,
  'menu_icon' =&gt; 'dashicons-video-alt3',
  'supports' =&gt; array('title'),
  'taxonomies' =&gt; array('post_tag')
  );
  register_post_type('video', $args);
  }
  </code></pre>
  
  <p>That post has a advanced custom field <code>&lt;?php the_field('video_link'); ?&gt;</code>
  And yes, of course it works.
  But, if I click on tag and go to archive page I take nothing.</p>
  
  <pre><code>&lt;?php while ( have_posts() ) : the_post();
  get_template_part( 'content', get_post_format() );
  get_template_part( 'video', get_post_format() );
  endwhile;?&gt;
  </code></pre>
  
  <p>Ok, "how to take a custom field from other post":
  That I tried:</p>
  
  <pre><code>&lt;?php echo the_ID(); $variable = get_field('video_link', $post-&gt;ID); echo $variable; ?&gt;
  
      &lt;?php the_field('video_link', 'video'); ?&gt; //video it's a page with loop
      &lt;?php the_field('video_link', 123); ?&gt; //id of video post
  </code></pre>
  
  <p>It's interesting, that "echo the_ID" work, of course work.
  And interesting, that "the_field('video_link', 123)" work
  But I can't merge them!</p>