• Hello One And All,

    I have the Live theme, and what I’m trying to do is display the first few sentances if my posts and then have a link that would show the whole post. I would like to do this without going into the RSS Feed. Is this possible? And if it is, how do I do it?

    Thanks for the help,

    Bob Gatto

Viewing 2 replies - 1 through 2 (of 2 total)
  • the_excerpt()

    Peter

    Thread Starter bgatto

    (@bgatto)

    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

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Display summary of post’ is closed to new replies.