Support » Themes and Templates » Help with the_excerpt Reloaded

  • Hello. I’ve been wanting to implement the_excerpt_reloaded on my blog since I came across the wiki page dedicated to it. So I’ve tried putting <?php the_excerpt_reloaded(); ?> in the loop on index.php and all that seems to happen is the following

    excerpt
    (link)
    entire post, including excerpt

    So every story posts 1 1/2 times, I guess you could say. If I take <?php the_content(); ?> out, I’m left with the excerpt and a link which just takes me to the story again, only with the excerpt there and not the whole story. So could anyone point me in the direction of how to set up the_excerpt_reloaded so it actually works? Thank you.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Apparently your theme doesn’t have a single.php template? If not, use this for your excerpt/content “tag”:

    <?php
    if(is_single()) {
    the_content();
    } else {
    the_excerpt_reloaded();
    }
    ?>

    No, I don’t have a single.php template. If I had one of those with the_content() instead of the_excerpt_reloaded(), would that solve my problem as well? I like different templates so this would answer my next question of how to customize an individual post template, haha.

    “If I had one of those with the_content() instead of the_excerpt_reloaded(), would that solve my problem as well?”

    Yep. Just to make it clear to everyone (since you seem to have answered your own question).

    very good, thanks

    I can’t seem to get this to work. Well, I’m a newbie so anyway…

    I uploaded the file to my plugins directory and activated it. But I’m not sure where to put the

    <?php the_excerpt_reloaded(); ?>

    and if I’m supposed to comment something out.

    I’m using wordpress 2.0.1 and the connetions theme. Would appreciate any help. Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Help with the_excerpt Reloaded’ is closed to new replies.