title: Wordpress page content not appearing
body: <p>I have a small problem on a wordpress custom post type page, whereby the page content underneath seems to output the last piece of content from one of the custom post types. The code is below. </p>
  
  <p>We wanted to move the page content to below the custom post type and so moved the <code>get_template_part( 'content', 'page' );</code> function to below the custom post loop. When this function is above the loop, then the page content outputs properly, but above the custom post loop (i.e not as desired). </p>
  
  <p>I know the fix could be fixed, but if so please could you point me in the right direction?</p>
  
  <pre><code>&lt;div id = "feature_boxes_wrap2"&gt;
                  &lt;?php query_posts(array(
                              'posts_per_page' =&gt; 3,
                              'post_type'=&gt;'feature_box'
                              )
                            ); ?&gt;
  
  
                  &lt;?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?&gt;
  
  
                  &lt;div class = "feature_box2"&gt;
                      &lt;?php echo get_the_post_thumbnail($id, array($image_width,$image_height)); ?&gt;
                      &lt;h2 class="feature2"&gt;&lt;?php the_title();?&gt;&lt;/h2&gt;
                      &lt;?php $feature_content = get_the_content(); ?&gt;
                      &lt;?php echo substr($feature_content, 0, 100); ?&gt;
                      &lt;br&gt;
                      &lt;a href = "&lt;?php g5_print_page_link(); ?&gt;"&gt;Read more&lt;/a&gt;
                  &lt;/div&gt;&lt;!-- #feature_box2 --&gt;
  
                  &lt;?php endwhile; // end of the loop. ?&gt;
              &lt;/div&gt;&lt;!-- #feature_boxes_wrap2 --&gt;
  
  
              &lt;?php
              the_post(); 
              get_template_part( 'content', 'page' ); ?&gt;
  </code></pre>