WordPress.org

Support

Support » Miscellaneous » Need Help with Excerpts, PLEASE

Need Help with Excerpts, PLEASE

  • 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.

Viewing 1 replies (of 1 total)
  • 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.

Viewing 1 replies (of 1 total)
  • The topic ‘Need Help with Excerpts, PLEASE’ is closed to new replies.
Skip to toolbar