WordPress.org

Ready to get started?Download WordPress

Forums

Need Help with Excerpts, PLEASE (2 posts)

  1. exposedfilm
    Member
    Posted 7 years ago #

    Hello all, I've recently tried to set up some excerpts with my posts, but when it displays an excerpt on my main page, I click on it and it doesn't link to the rest of the post it just shows the title of the post and the optional excerpt I wrote.

    Here's some code I changed from the loop:

    <?php if (is_search() || (function_exists('is_tag') && is_tag())) {
    the_excerpt();
    } else {
    the_content(sprintf(__("Read on... '%s'", 'unnamed'), the_title('', '', false)));
    } ?>

    that is the original, where it says the_content, I changed that to the_excerpt and where it says the_excerpt I changed that to the_content.

    I hope I'm not coming off as too confusing, help would be greatly appreciated.

    Thanks.

  2. evilbeet
    Member
    Posted 7 years ago #

    Hey there,

    I don't think you have to do anything that complicated. You should just be able to use the "More" button at the top of the box where you're entering your text. Or you can just add this line of the code wherever you want the jump to be:

    <!--more-->

    Hope I understood your question correctly.

Topic Closed

This topic has been closed to new replies.

About this Topic