title: Custom Pages with Wordpress 3.4.1
body: <p>I am having some problems trying to get a custom page to display on my site. What I want is to create a page where the client can edit the content in Wordpress. When I add the page using the Wordpress "add new page" it doesn't show, but if I create a page in .php with the same content, it works fine. This is what I did:</p>
  
  <p>First I created a blank .php template called lefthome.php using the following code:</p>
  
  <pre><code>    &lt;?php
  /*
  Template Name: Left Template
  */
  ?&gt;
  
          &lt;?php get_template_part( 'loop', 'page' ); ?&gt;
  </code></pre>
  
  <p>I then went into Wordpress, clicked on pages > add new. I gave my page a title and added the content I wanted to appear on the page. Then from the template option in the page attributes I choose the template I had earlier created (Left Template) and clicked update.</p>
  
  <p>I wanted this template to appear on the homepage, so I tried to add it to the homepage template I had created using the following code:</p>
  
  <pre><code>    &lt;?php
  /*
  Template Name: Home
  */
  
  get_header(); ?&gt;
  
  &lt;?php include (TEMPLATEPATH . '/slider.php'); ?&gt;
  
  &lt;div id="content"&gt;
      &lt;?php include (TEMPLATEPATH . '/lefthome.php'); ?&gt;
  &lt;/div&gt;
  
          &lt;?php get_template_part( 'loop', 'page' ); ?&gt;
  
  
  &lt;?php get_footer(); ?&gt;
  </code></pre>
  
  <p>The header, slider.php and footer all show fine. The contents of the lefthome.php do not appear. I do not know how to get it to show. The only way I have got it to show is to paste the contents into the lefthome.php template. I don't want to do this though, as the client will not be able to edit the contents themselves.</p>
  
  <p>I hope someone can help me.</p>
  
  <p>Thanks </p>