You are viewing this site in a simplified layout because your browser does not yet support CSS Subgrid.

op111.net

Search op111.net

The WordPress excerpt: What, why, how, tips and plugins

WordPress excerpts make a WordPress site easier to browse and its content easier to discover. When also used as META descriptions, good excerpts bring more and better traffic from search engines. This article looks into the WordPress Excerpt and explains how to use it.

CONTENTS

  1. What is the WordPress excerpt
  2. Why write excerpts in WordPress
  3. How to write excerpts
  4. WordPress Excerpt Editor (plugin)
  5. Excerpts as META descriptions
  6. Notes, Miscellaneous
  7. Links
  8. Changelog

What is the WordPress excerpt

The excerpt in WordPress is a short summary of a post. It is written by hand and it can be used instead of the full post in places where a summary is preferable.

Or, as the Excerpt box in WordPress 2.8 says:

Excerpts are optional hand-crafted summaries of your content. Learn more about manual excerpts

In other words, the WordPress excerpt is not an excerpt in the common sense of the word; it is not a part cut from a post but an extra piece of information added to a post, in the same way that tags are added. And, like tags, it is optional. To add an excerpt, you simply write one in the Excerpt box, right under the post editor:

The Excerpt metabox in WordPress 2.7

Why write excerpts in WordPress

NOTE. The following assumes a WordPress theme that displays excerpts in search results and in author/category/date/tag archives. Not all themes do. For a solution, see WordPress Excerpt Editor, on which more in a while.

Archive pages in WordPress and search results

Let’s start with an example:

Say that you search for minimalist+wordpress in this site. Among other results you’ll get “Five clean, minimalist themes for WordPress”, along with a brief description:

Five good WordPress themes examined and compared: Basic2Col, Moo Point, Sandbox, Simplish, and Thematic.

Which is the excerpt I wrote. If I hadn’t written one, the first 55 words of the review (that is, the automatic excerpt) would be displayed instead:

UPDATED 2009-02-13. I recently decided to look for a good minimalist theme for op111.net. I did not expect it would be an easy search, and, in a sense, it wasn’t. (Partly because WordPress had been going for some time without a central repository of themes. Now there is one, but it is still young.) [...]

The first one is clearly better.

The drawbacks of the automatic excerpt are obvious:

  1. The beginning of a piece is usually an introduction, not a summary.
  2. Even if it is a summary, 55 words are too many for a list of search results.

On the other hand, by writing a manual excerpt I was able to add a few extra pieces of information to the information provided by the title, and say all I wanted to say, in 13 words and 105 characters.

Even if the excerpt I wrote is not perfect, it can be scanned very quickly. Not only that: Since the other results have excerpts too, the results page is now more appealing and useful as a whole. The same goes for archive pages—archives by date, category, tag, or author—since excerpts can be used there too.

So, in a sense, hand-written excerpts are good navigational devices: They help visitors find easier what they look for. Or, if that does not exist, they let visitors know, so that they don’t click back and forth in vain and get frustrated in the end.

Result pages in search engines

Most interestingly, this navigational device can be used off-site too.

Let’s see another example. Say that you search for clean minimalist themes on Google, Live Search, or Yahoo!. You’ll get something like:

Live Search, part of search results for “clean minimalist themes”, snippet highlighted

It’s a typical item in a search results page: Title, URL address and a description, which is exactly the the excerpt I wrote for the post.

How did Live Search know about that if the text does not appear anywhere in the indexed page? It knew because in op111.net excerpts double up as meta descriptions.

Search engines compile a short description for a result by putting together bits from the page. But if the page has a META description, and if they think it is a good description and relevant to the search query, they may display that instead.

This means that, to a certain degree, META descriptions let you control how your content is described by search engines. And if a description is good, people are more likely to click on the link.

More on WordPress excerpts as META descriptions in Part 5.

Summing up the Whys of the hand-written excerpt

  • Manual excerpts help visitors navigate a site easier and find good results.
  • Manual excerpts can double as meta descriptions, which are often used by search engines to describe search results. In this way, good excerpts increase and improve traffic from search engines.

How to write excerpts

Writing good excerpts/summaries is not easy. Writing a decent excerpt, however, only takes some common sense: What’s the excerpt for? What is its purpose? Answering this question will also tell us what the excerpt must be like.

PURPOSE OF THE WORDPRESS EXCERPT

To help readers tell at a glance if a page is what they look for.

So, to do that, the excerpt must be two things: brief and informative.

How brief

If you want to use excerpts as meta descriptions too (see Part 5) you should try to write no more than 160 characters. For English, 160 characters is 25 to 30 words. It may seem little but it’s not, for two reasons:

First, the excerpt is always displayed along with the title. So, for the purpose of offering a summary description of a post or page these two are a set: title+excerpt. Assuming that a title should be no longer than 70 characters and that the average word length is 5 letters, we have:

(70 + 160) ÷ (5 + 1) ≈ 38

(I also added 1 space for each word, since spaces count too.)

That’s 38 words in sum! Thirty eight words is quite an amount.

Second, you can say lots of things in 160 characters if you follow good practice. Not only that, but your excerpts will be better as a result:

TIPS FOR CONCISE EXCERPTS/SUMMARIES

  1. Prefer short and simple words. E.g., write “use”, not “utilize” (unless you mean “utilize”).
  2. Prefer simple constructs. E.g., say “because”, “since”, or “as”, not “due to the fact that”.
  3. Prefer verbs to abstract nouns. Abstract nouns are longer, less lively, and lead to lengthier and clumsier constructions.
  4. Use adjectives and adverbs sparingly. Does that adjective really need an adverb to qualify it?
  5. Review to remove needless words.

How informative

As informative as possible! The rules I try to follow are two: complement the title and be honest.

First, be honest. Try to summarize the content accurately and avoid aggresively promotional copy. Imagine a friend asked you what the page is about. How would you describe it to them in a few words? Use the same description as your excerpt.

Second, complement the title. Since the excerpt is always displayed next to the title, there is no reason to repeat what the title says. Some repetition is unavoidable and often is useful too, e.g. for emphasis. Other than that, try to complement the title and to add to it.

TIPS FOR INFORMATIVE EXCERPTS/SUMMARIES

  • Describe honestly and accurately as if you were describing to a friend.
  • Complement the title in any relevant aspect; things like:
    • Amount – just add more information.
    • Scope – e.g., give the general context for a specific title.
    • Tone – e.g., write a serious excerpt to balance a playful title.
    • Variety – e.g., if a title word has a common variation, use that variation in the excerpt. (To facilitate humans, not to trick machines!)
  • Write excerpts last. Then you have a better overview.
  • Revisit you excerpts. Even if you got everything perfect the first time, other things may have changed.

To recap, when writing WordPress Excerpts try to be, as much as possible:

  1. Brief
  2. Informative

WordPress Excerpt Editor (plugin)

Let’s see some tools for excerpts now.

A default WordPress setup offers one simple tool to manage excerpts: the Excerpt box. If you have lots of content and you write excerpts often, it helps having something better. Fortunately, there are quite a few good plugins for managing excerpts. Part 5 suggests a couple that generate META descriptions from excerpts, while the Links at the end include a couple more.

This part looks at one plugin for excerpts that I think offers the most general usefulness: WordPress Excerpt Editor

WordPress Excerpt Editor does what its name suggests and more. It is essentially an excerpt manager. Among other things, it lets you:

  • Add and edit excerpts quickly
  • Add excerpts to pages
  • Control the appearance of excerpts
  • Display excerpts instead of full content on index pages (search results, tag archives etc.)
  • Display excerpts instead of full content on the homepage

If you need to add excerpts retrospectively to a large number of posts, or simply edit a large number of excerpts, Excerpt Editor brings all excerpts, empty and filled-in, together in one place, so that you can edit or add excerpts one after the other. For posts with no excerpt, it shows the first 70 words, to help you start. Once you are finished with an excerpt, you click Save and Excerpt Editor goes to the next one:

WordPress Excerpt Editor 1.3

It also lets you add excerpts to WordPress pages, which is not possible without a plugin.

If you only need Excerpt Editor for these two features—adding/editing post excerpts and adding/editing excerpts to Pages—, you can deactivate it when you finish and reactivate it the next time you want to add or edit a large number of excerpts.

The extended functionality of Excerpt Editor, beyond adding and editing excerpts, is too wide to go over here. There is one feature, however, that I want to highlight. This is “Replace Posts”:

WordPress Excerpt Editor 1.3, Options, Replace Posts

If your theme does not support excerpts, or supports excerpts poorly, “Replace Posts” lets you define where to show excerpts instead of full content. There are several combinations you can select for that; you can even have the homepage show the latest post in full and display only the excerpt for the rest of the posts.

Excerpts as META descriptions

What is a META description

The language in which most webpages are written is HTML or its cousin XHTML. A meta description is an optional set of data in the head of an HTML document that describes the content of the document. “meta” means that this set of data is metadata or meta-information; that is, data about data, or information about information: information about the information in the document itself.

A basic XHTML document with a META description looks like this:

Basic structure of an XHTML document with the HEAD section highlighted

Unlike the title of a page and the text in the body, the meta description is not displayed anywhere by web browsers. Browsers understand it, however, as do indexing robots, the programs search engines use to browse the web automatically and index web pages.

When search engines were still young, in the early days of the commercial Web, they used to rely on this description, as well as on the “keywords” meta element, to understand what a page is about and how relevant it is to a query. As a consequence, description and keywords were abused to senselessness by webmasters. Good search engines don’t do that anymore. They do not rely on description and keywords for indexing and ranking. However, they often use description for for what its original purpose was: Description!

The reason why search engines are interested in the meta description is the same reason why web authors should use it. The Official Google Webmaster Central Blog explains:

The quality of your snippet—the short text preview we display for each web result—can have a direct impact on the chances of your site being clicked (i.e. the amount of traffic Google sends your way). We use a number of strategies for selecting snippets, and you can control one of them by writing an informative meta description for each URL. [...]

We want snippets to accurately represent the web result. We frequently prefer to display meta descriptions of pages (when available) because it gives users a clear idea of the URL’s content. This directs them to good results faster and reduces the click-and-backtrack behavior that frustrates visitors and inflates web traffic metrics.

Keep in mind that meta descriptions comprised of long strings of keywords don’t achieve this goal and are less likely to be displayed in place of a regular, non-meta description, snippet. And it’s worth noting that while accurate meta descriptions can improve clickthrough, they won’t affect your ranking within search results.

— SOURCE: Raj Krishnan, Google Snippets Team, in Improve snippets with a meta description makeover, 27 September 2007.

Using WordPress excerpts as META descriptions

You can write meta descriptions for your posts in WordPress by using a plugin. But if your posts already have hand-written excerpts, there is no reason to do that. Since the WordPress excerpt and the HTML meta description are about the same in purpose, you can use your excerpts as meta descriptions!

In the WordPress logic, this is simple. In the same way that, for example, we tell WordPress to get the post_title of a post from the database and use it as a title for that post, we can tell WordPress to get post_excerpt and use it as a meta description (in addition to using it as an excerpt). Only we can’t do that in a default setup. We need a plugin. Here are two that do this:

Platinum SEO

Platinum SEO Pack adds meta descriptions automatically. Once you install it, all posts with excerpts will also have meta descriptions. You don’t need to do anything else. The same is true for All in One SEO Pack, on which Platinum SEO is based.

If a post has no excerpt, Platinum SEO will use the first 160 characters of the post as a meta description. This is the option Autogenerate Descriptions, which is enabled by default. My advice is to disable Autogenerate Descriptions. If you have posts without hand-written excerpts, let the search engines piece together descriptions for them. They do a better job.

If you want to use a meta description different from the excerpt for a particular post, go to the post editor and write one in the SEO Platinum Pack box, in the Description field.

Headspace2

HeadSpace2 allows finer control of the head of HMTL documents and can do that and much more, but does nothing by default. Setting it to generate meta descriptions from excerpts is easy:

  1. Go to HeadSpace Settings › Page Settings
  2. Click to edit the Posts & Pages section
  3. Type %%excerpt_only%% in the Description box
  4. Save your changes

HeadSpace2 for WordPress, Page Settings, Excerpt as META description

This tells HeadSpace2 to generate meta descriptions for posts and pages that have excerpts.

To use a meta description different from the excerpt for a particular post or page, simply go to the page/post editor and write a meta description for that page or post:

HeadSpace2, Writing a specific META description for a post or page

Last, HeadSpace trims meta descriptions to 150 characters. You can change this value in HeadSpace Settings › Page Modules › Page Description.

Themes that generate META descriptions from excerpts

Taking an excerpt and using it as a meta description is something that can be done by themes too. One theme that does this is Hybrid:

Hybrid for WordPress, Settings, Autogenerate META descriptions

Another is Thematic. Thematic does this by default and, since version 0.9, does it the smart way too: It makes meta descriptions only for posts that have a manual excerpt.

Length of META descriptions

Since META descriptions are written for search engines, what matters here is what search engines do. At this writing (February 2009), Google seems to use up to 160 characters to describe search results, Yahoo! up to 170, and Live Search up to 180:

LENGTH OF DESCRIPTIONS (SNIPPETS/ABSTRACTS) IN SEARCH ENGINES IN FEB 2009

  • ≤ 160 characters in Google
  • ≤ 170 characters in Yahoo!
  • ≤ 180 characters in Live Search

So, if you want your descriptions to be displayed in whole when used by search engines, do not exceed 160 characters. For English, that’s about 25–28 words.

For a quick check-up of your meta descriptions, you can use the Diagnostics tool in Google Webmaster Tools. It will tell you whether you have too long, too short, or duplicate descriptions, how many of each, and it will point you to the pages that need attention:

Google Webmaster Tools, Diagnostics, Content analysis, Meta descriptions

Notes, Miscellaneous

Excerpts for Pages

WordPress supports Page excerpts internally (the database field that stores them is the same as for posts) but offers no interface to add excerpts to Pages.

WordPress Excerpt Editor makes no such distinction and lets you add excerpts to both posts and pages. If you create pages often, another plugin you may find useful is PJW Page Excerpt, which adds an Excerpt box to the page editor, same as the Excerpt box of the post editor.

Teasers

The “teaser” is another useful device in WordPress, often confused with the Excerpt. You make a teaser by inserting the more tag in a post. (The More button is to the left of the spellchecker.) Then, the part before the more tag becomes a “teaser” and is displayed by default on the front page in lieu of the full content, along with a Read More link.

The relation between the Teaser and the two Excerpts, manual and automatic, is this: When a post has no manual excerpt, WordPress looks for a teaser and uses that instead. If the post has no teaser either, WordPress uses the first 55 words as an excerpt.

General

  • Template Tags/the excerpt Documentation for the function the_excerpt() in the WordPress wiki.
  • Wanted: Excerpt Exacter – I need a WordPress plugin that won’t let me publish a post until I’ve filled in the excerpt field. Anyone got one?” By Eric Meyer. – 2009-10-05: See Autofields below.
  • WordPress Now Available (v0.70) Release notes for the first public release of WordPress, v0.70, in May 2003. The Excerpt is among the highlighted features: “Manual Excerpts — This allows you to handcraft summaries of your posts to appear in your RSS feed and other places.”

WordPress plugins for excerpts

All plugins below can be installed from the WordPress Dashboard: Go to Plugins › Add New, look up the plugin name, and click Install.

  • Advanced Excerpt – Tweaks the excerpts that WordPress generates automatically when the Excerpt field is empty.
  • Autofields – Autofills the Excerpt field (optionally) and also warns about missing excerpt (optionally).
  • HeadSpace2 – Powerful metadata manager for WordPress. Can be used for SEO and for much more!
  • Platinum SEO Pack – A WordPress plugin for easy search-engine optimization. (Based on All in One SEO Pack.)
  • PJW Page Excerpt – Adds an Excerpt box to the page editor, same as the one in the post editor, to add excerpts to pages.
  • WordPress Excerpt Editor – An excerpt editor, formatter, and manager for WordPress.

“description” META tag

Changelog

  • 2010-09-29
    • Several edits and corrections here and there.
  • 2009-10-05
    • Added Autofields to list of plugins for excerpts.
  • 2009-06-14
    • Corrected: Platinum SEO and All in One SEO cut meta descriptions at 160 characters, not 150.
    • Several other edits.
  • 2009-03-03
    • Added Thematic to themes that generate meta descriptions.