Thank you, but when I replaced the_post() with the_excerpt(), it printed the excerpt at the top without a title and without a link to display the whole post. After that the post title and the excerpt of that title were displayed, and it kept repeating the same title and excerpt over and over.
The code looks like this:
<ul class="list-3">
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_excerpt(); ?>
<li>
<div class="fr">
<h2><a href="<?php the_permalink() ?>" class="title-2" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
<div class="list-title-info">Filed under<?php the_category(', ') ?>
</div>
Why is it doing this and how can I fix it?
Thanks,
Bob