Many WordPress themes rely on Excerpts, but they can be a mystery to many users.
In this post, I'll explain what an Excerpt is, how you create them, where they appear, and how you can get more control over how they're used on your site.
A Beginners Guide to Excerpts
An Excerpt is an optional summary or description of the main content. So if you write a Post about the book “Moby Dick”, your excerpt might look like this:
Moby Dick is a novel by Herman Melville, in which Captain Ahab seeksr revenge on a whale called Moby Dick, which on a previous voyage destroyed Ahab's ship and severed his leg. The novel was published in 1851 during the period of the American Renaissance.
If you're new to WordPress, you'll find the “Excerpt” box on the bottom of the screen when creating posts. It will be underneath the main content. Here's an example using the book “Moby Dick”:
If you don't see the “Excerpt” box, look for the “Screen Options” pulldown in the top-right of the screen.
Check the box next to “Excerpt” and the box should appear lower down the screen.
How Long is the Excerpt?
There is no fixed length for WordPress excerpts.
Visually, there is room for 2 lines of text but on a large monitor that it is enough room for over 300 characters. However, if your write enough text to go over 2 lines, WordPress will show a scrollbar for the box:
It is possible to limit the length of the excerpt if you need to keep it to a certain length.
Where Are They Used in Themes?
How Excerpts display on your site is 100% decided by your theme.
The screenshot below was taken using the Appeal theme. If you look at any page that contains multiple Posts, you'll see that the Excerpt is used. Some theme designers prefer to automatically pull the first few lines of the Post, but some designer prefer to use the Excerpt.
How to Force Writers to Include Excerpts
One key thing to know about Excerpts … many themes will look strange without them. Many designers create themes that look great with an Excerpt but look slightly odd and sparse without them.
So if you want to force your writers to include them, how can you do it?
The answer is the PublishPress Checklists plugin.
- Install the PublishPress Checklists plugin.
- Go to Checklists > Settings.
- Scroll down to “Number of characters in excerpt”. Choose “Required” from the dropdown.
- Enter a “Min” and/or a “Max” setting in the right column. In the image below, users must enter between 50 and 60 characters.
- This will now be one of the items that authors must complete before publishing.
Now when someone goes to write a post, this is what they'll see in the sidebar:
If you don't fix this checklist item, it will be impossible to publish the post:
After you've entered the correct number of characters, the red X will turn into green check mark. You will now be able to publish this post.
Excerpts look great on your site and help visitors get a quick feel for your content.
However, they are not required by default. If you want to create a site with consistent, good-looking, high-quality content, then make sure you have a helpful Excerpt for each post. Use the PublishPress Checklists plugin.
This video is also a helpful guide to this topic: