WordPress.org

Ready to get started?Download WordPress

Forums

Using excerpt on homepage or shorter content? (5 posts)

  1. danshaw
    Member
    Posted 7 years ago #

    Is it possible to specify that the excerpt gets shown on the blog homepage rather than a chunk of the content which is a bit too long for us?

    Or is it possible to shorten the amount of the post which is seen on the homepage?

    Thanks

  2. Brian Layman
    Member
    Posted 7 years ago #

    Third time asked this morning... ;)

    See this topic:
    http://wordpress.org/support/topic/83494

  3. BPartch
    Member
    Posted 7 years ago #

    Hello

    You can use the <!--more--> tag in a post where you want to cut off the post and add a link to the entire article.

    Is that what you meant?

  4. danshaw
    Member
    Posted 7 years ago #

    ok I can see that has worked, although it would be quite good if the word "more" didnt actually appear, so the title of the post takes you to the full story instead.....?

  5. BPartch
    Member
    Posted 7 years ago #

    Hello

    To change the default "More" you have to go into index.php within the theme folder and look for the line that calls in the content and alter the "More" part.

    I use this:

    <?php the_content("Continue reading: " . the_title('', ' »', false)); ?>

    That gives me - Continue reading: the post title.

    Hope it helps.

Topic Closed

This topic has been closed to new replies.

About this Topic