WordPress.org

Support

Support » How-To and Troubleshooting » Excerpts ONLY on home page

Excerpts ONLY on home page

  • 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

Viewing 1 replies (of 1 total)
  • esmi

    @esmi

    Forum Moderator

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

    <?php if(is_home()) the_excerpt();
    else the_content();?>
Viewing 1 replies (of 1 total)
  • The topic ‘Excerpts ONLY on home page’ is closed to new replies.