title: showing only first post when clicking read more of any post wordpress posts
body: <p>Here is showing only last created post when i am clicking on readmore button of post.</p>
  
  <p>remember i have called all posts on another template(our_program.php inplace of index.php) all posts are showing well but on single.php here is only only one recent post showing when i am clicking on read more of any post. my single.php code is below</p>
  
  <pre><code>&lt;?php $args = array( 'post_type' =&gt; 'post');
          query_posts($args);
       ?&gt;
      &lt;?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?&gt;
      &lt;section class="talent-development" id="telent-development"&gt;
          &lt;div class="container"&gt;
              &lt;div class="row"&gt;
                      &lt;div class="section-content-text clearfix"&gt;
                          &lt;div class="col-sm-12"&gt;
                              &lt;h2&gt;&lt;?php the_title(); ?&gt;&lt;/h2&gt;
                          &lt;/div&gt;
                          &lt;div class="col-sm-5"&gt;
                              &lt;div class="ourProgramImg"&gt;
                                  &lt;?php if( has_post_thumbnail()){
                                      the_post_thumbnail(); 
                                  }
                                  ?&gt;
                              &lt;/div&gt;
                          &lt;/div&gt;
                          &lt;div class="col-sm-7"&gt;
                              &lt;div class="ourProgramContent"&gt;
                                  &lt;p&gt;
                                      &lt;?php the_content();?&gt;
                                  &lt;/p&gt;
                              &lt;/div&gt;
                          &lt;/div&gt;
                  &lt;/div&gt;
                  &lt;!--&lt;div class="col-sm-6"&gt;
                      &lt;div class="section-content-img"&gt;
                          &lt;img src="img/sec.jpg" alt="" title="" /&gt;
                      &lt;/div&gt;
                  &lt;/div&gt;--&gt;
              &lt;/div&gt;
          &lt;/div&gt;
      &lt;/section&gt;
      &lt;?php endwhile;  else: ?&gt;
      &lt;p&gt; Not post Found &lt;/p&gt;
      &lt;?php endif; ?&gt;
  </code></pre>
  
  <p>and post page(permalink) code below</p>
  
  <pre><code>&lt;?php $args = array( 'post_type' =&gt; 'post');
          query_posts($args);
       ?&gt;
      &lt;?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?&gt;
      &lt;section class="talent-development" id="telent-development"&gt;
          &lt;div class="container"&gt;
              &lt;div class="row"&gt;
                      &lt;div class="section-content-text clearfix"&gt;
                          &lt;div class="col-sm-12"&gt;
                              &lt;h2&gt;&lt;?php the_title(); ?&gt;&lt;/h2&gt;
                          &lt;/div&gt;
                          &lt;div class="col-sm-5"&gt;
                              &lt;div class="ourProgramImg"&gt;
                                  &lt;?php if( has_post_thumbnail()){
                                      the_post_thumbnail(); 
                                  }
                                  ?&gt;
                              &lt;/div&gt;
                          &lt;/div&gt;
                          &lt;div class="col-sm-7"&gt;
                              &lt;div class="ourProgramContent"&gt;
                                  &lt;p&gt;
                                      &lt;?php echo substr(get_the_excerpt(), 0, 400); //the_content();?&gt;
                                  &lt;/p&gt;
                                  &lt;a href="&lt;?php the_permalink(); ?&gt;"&gt;Read More&lt;/a&gt;
                              &lt;/div&gt;
                          &lt;/div&gt;
                  &lt;/div&gt;
                  &lt;!--&lt;div class="col-sm-6"&gt;
                      &lt;div class="section-content-img"&gt;
                          &lt;img src="img/sec.jpg" alt="" title="" /&gt;
                      &lt;/div&gt;
                  &lt;/div&gt;--&gt;
              &lt;/div&gt;
          &lt;/div&gt;
      &lt;/section&gt;
      &lt;?php endwhile; else: ?&gt;
      &lt;p&gt; Not post Found &lt;/p&gt;
      &lt;?php endif; ?&gt;
  </code></pre>