WordPress custom theme, Why is my content not showing on page
<p>My pages are not showing any content on them other then the header and footer I think its something to do with the way i am laying out my  but don't really know.</p>

<p>index.php and page.php</p>

<pre><code>&lt;?php get_header(); ?&gt;
&lt;?php if( have_posts() ) : the_post(); ?&gt;
    &lt;?php the_content(); ?&gt;
&lt;?php endif; ?&gt;
&lt;?php get_footer(); ?&gt;
</code></pre>