I created a theme, and I created a page for the theme, and now I want to associate posts to the page. I read this article:
http://codex.wordpress.org/Pages
Look under the section "Examples of Pages and Templates", there is this code:
<div id="content" class="widecolumn">
<?php if (have_posts()) : while (have_posts()) : the_post();?>
<div class="post">
<h2 id="post-<?php the_ID(); ?>"><?php the_title();?></h2>
<div class="entrytext">
<?php the_content('<p class="serif">Read the rest of this page »</p>'); ?>
</div>
</div>
<?php endwhile; endif; ?>
It seems to be pulling some posts associated with a page. How can I create posts for a page? And if not possible, what are they doing or what kind of altenrative is available to me, other than hardcoding html into the page?
<?php if (have_posts()) : while (have_posts()) : the_post();?>
-- This is 'The Loop'.