How to show excerpt instead of content for posts in WordPress Twenty Sixteen theme

Twenty sixteen is a theme provided by with a modernized take on an ever-popular WordPress layout. The theme provides horizontal masthead with an optional right sidebar that works perfectly for blogs and websites. It has custom color options with beautiful default color schemes, a harmonious fluid grid using a mobile-first approach, and impeccable polish in every detail. Twenty Sixteen will make your WordPress look beautiful everywhere.

The Problem

By default, the home page displays the entire content of each post as below.

This is not always desirable and sometimes we only want to show the excerpt instead of the entire post.

The Solution

Edit the theme via the Theme Editor to show excerpt instead of the content. The steps are as below.

  1. Go to Appearance > Theme Editor
  1. From the right sidebar (Theme Files), open template-parts/content.php
  1. Find and replace the code the_content with the_excerpt
  1. Click on Update file at the bottom


Now, the post excerpt is displayed instead of the entire content as below.

If you want to remove the header Introduction from the post excerpt, please refer to this post.

Leave a Reply

Your email address will not be published. Required fields are marked *