title: How to create single page of advance custom field in wordpress?
body: <p>I am create post with advance custom field (movie-page.php) I want to create single page(single-movie.php) each post of movie-page.php when I am click on each post it link to full details but I can not do it. Help me please!!!. thanks you.</p>
  
  <p>And here is my code <strong>movie-page.php</strong></p>
  
  <pre><code>&lt;?php
  /*
   *  Template Name: Page - Movie Page
   */
  ?&gt;
  &lt;?php get_header(); ?&gt;
  &lt;?php 
  
  $posts = get_posts(array(
      'posts_per_page'    =&gt; -1,
      'post_type'         =&gt; 'movie'
  ));
  
  if( $posts ): ?&gt;
  
      &lt;ul&gt;
  
      &lt;?php foreach( $posts as $post ): 
  
          setup_postdata( $post )
  
          ?&gt;
  &lt;div class="jol"&gt;
              &lt;a href="&lt;?php get_permalink($post-&gt;ID); ?&gt;"&gt;&lt;?php the_title($post-&gt;ID); ?&gt;&lt;/a&gt;
              &lt;?php get_post_field('descriptionii',$post-&gt;ID ); ?&gt;
               &lt;?php the_content() ?&gt;
              &lt;?php the_field("descriptionii") ?&gt;
  &lt;/div&gt;
          &lt;?php endforeach; ?&gt;
  
      &lt;/ul&gt;
  
      &lt;?php wp_reset_postdata(); ?&gt;
  
  &lt;?php endif; ?&gt;
  &lt;?php get_footer(); ?&gt;
  </code></pre>