title: Make a Single-movies.php file for Custom Post "movies"
body: <p>anyone who can help me to make this code exactly which I want</p>
  
  <pre><code>&lt;div id="container"&gt;
  
  
  &lt;div class="clearfix"&gt;&lt;/div&gt;
  
  &lt;?php   $args = array(
      'post_type' =&gt; 'movies',
      'numberposts' =&gt; -1,
      'order' =&gt; DESC );   $myquery = new WP_Query($args);
      if($myquery-&gt;have_posts()) : 
          while($myquery-&gt;have_posts()) :
             $myquery-&gt;the_post(); ?&gt;
  
  
              &lt;div id="post-&lt;?php the_ID(); ?&gt;" &lt;?php post_class(); ?&gt;&gt;
  
  
                  &lt;h1&gt;&lt;a title="&lt;?php the_title(); ?&gt;" href="&lt;?php the_permalink() ?&gt;" rel="bookmark"&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;&lt;/h1&gt;
  
  
                  &lt;div class="entry-content"&gt;
  
                      &lt;?php the_content(); ?&gt;
  
  
                  &lt;/div&gt;          &lt;/div&gt;
  
  
  &lt;?php    endwhile; endif; ?&gt;
  
  &lt;/div&gt;
  
  
  &lt;?php include(TEMPLATEPATH . '/sidebar_single.php'); ?&gt;
  </code></pre>
  
  <p>In this code I'm getting all the posts when I'm click on any post, on single-movies.php its showing all 10 posts. But I need only one movie post which i click. and if you think its wrong just give me advice because I have no idea about this.</p>
  
  <p>thanx in advance Kumar</p>