I have pretty standard code for Tags and Categories at the end of each post in the loop, but, while it works fine on the Archive and Single pages, it doesn't show tags and only list Uncategorized (not one of the categories assigned to these posts) on the Index page for the blog.
Here is the code for the index page:
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="posting">
<h3 class="heading"><a href="<?php the_permalink() ?>" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h3>
<p class="postdate"><?php the_time('l, F jS, Y') ?> at <?php the_time() ?></p>
<p><?php the_content(); ?></p>
<?php the_tags( '<p class="tags"><span class="bold">Tags: </span>', ', ', '</p>'); ?>
<p class="categories"><span class="bold">Categories: </span><?php the_category(', ') ?></p>
</div>
<?php endwhile; endif; ?>
which shows no tags and only "Uncategorized" and here is the code for Archive:
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="posting">
<h3 class="heading"><a href="<?php the_permalink() ?>" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h3>
<p class="postdate"><?php the_time('l, F jS, Y') ?> at <?php the_time() ?></p>
<p><?php the_content(); ?></p>
<?php the_tags( '<p class="tags"><span class="bold">Tags: </span>', ', ', '</p>'); ?>
<p class="categories"><span class="bold">Categories: </span><?php the_category(', ') ?></p>
</div>
<?php endwhile; else: ?>
<p class="bold">Sorry, no news items were found in this archive.</p>
<?php endif; ?>
which shows all the tags on the same posts and the proper categories. There are no other differences in the code before or after these snippets -- it's all pretty straightforward. And yet, something seems wrong with tags and categories in the loop on the index page but on the other pages that use the same code it's fine.
What am I missing???