the code that doesn’t work on the index is:
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class=”post” id=”post-<?php the_ID(); ?>”>
<div style=”background-color:#6495AB;width:450px;”>
<h4>” rel=”bookmark” title=”Permanent Link to <?php the_title_attribute(); ?>”><?php the_title(); ?></h4>
<small><h7><?php the_time(‘F jS, Y’) ?> by <?php the_author() ?></h7></small>
</div>
the code that does work on the post page is:
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class=”post” id=”post-<?php the_ID(); ?>”>
<div style=”background-color:#6495AB;width:450px;”>
<h4>” rel=”bookmark” title=”Permanent Link: <?php the_title_attribute(); ?>”><?php the_title(); ?></h4>
<small><h7><?php the_time(‘F jS, Y’) ?> by <?php the_author() ?> </small>
</h7></div>