WordPress.org

Forums

Excerpts ONLY on home page (2 posts)

  1. hozho1
    Member
    Posted 5 years ago #

    This should be so easy, but I'm a little confused.
    How can I show only post titles and excerpts on my "Home" page?

    Thanks for your help.
    eric

  2. esmi
    Forum Moderator
    Posted 5 years ago #

    Edit index.php and replace <?php the_content();?> with:

    <?php if(is_home()) the_excerpt();
    else the_content();?>

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags