WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Tagline, Excerpt (4 posts)

  1. Bignasty247
    Member
    Posted 4 years ago #

    Hello,

    I have just performed a test post to see how it would look on my blog and I am very satisfied, however, I would like my front page to display excerpts with the "read more" hyperlink. I have tried inserting the <php the_excerpt(); ?> code into my main index but this did not work. How do I correctly have my front page display excerpts?

    Also, I would like to know why my tagline does not show on my front page underneath the header. Thank you.

  2. Peter Boosten
    Member
    Posted 4 years ago #

    You have two options:

    1. either you print the excerpt, but without the more link
    2. or you put the 'more' separator in your post

    There's actually another one: rewrite the excerpt function (by creating an own hook).

    Peter

  3. Peter Boosten
    Member
    Posted 4 years ago #

    Oke, especially for you I wrote a small (no rocket science) plugin that automatically adds a 'read more' link to your excerpts.

    You can download it here.

    Save it as wp-excerpt-more.php, put it into your plugin directory and activate it. It'll show 'Read more', with a link to the full article. It's customizable through a class called 'wpexcerptmore'.

    No license at all, just use and modify as needed.

    Enjoy.

    Peter

  4. Bignasty247
    Member
    Posted 4 years ago #

    Thanks a million!!

Topic Closed

This topic has been closed to new replies.

About this Topic