WordPress Tip #7 – Use the Excerpt

The WordPress post editor contains an Excerpt field, which is described as ‘optional hand-crafted summaries of your content that can be used in your theme’.

These excerpts are traditionally used on search and archive pages, to provide visitors with a succinct description of the contents of a post. If you use the the_excerpt() template tag, WordPress will display your custom excerpt, or if you don’t provide one, it will display the first 55 words of the post.

In my opinion it is always a good idea to provide a custom excerpt. For one thing, the first 55 words of a post won’t always describe the post fully, and may leave visitors guessing what the post is about. Also, if your post contains an image or video within the first 55 words, this will be omitted, which could mess up the flow of the text.

What we have done on Web Design From Scratch, is to edit our archive template, so that the post description is taken from the Yoast SEO Meta Description field. That kills two birds with one stone, providing a neat meta description, which also doubles as the post description on our archive pages.

This leaves the Excerpt field obsolete on our site, as it’s not used in our theme at all. However, third party services, such as Facebook and Google+, will still use the Excerpt where available, when people share a link to our site. For this reason, we also copy the contents of our Meta Description field into the Excerpt field, so that it’s available for any third party sites that want to use it.

Facebook WordPress Excerpt

Facebook uses the WordPress Excerpt where available

2 Comments Leave a comment

  1. Tushar says:

    Hi. Nice idea :)
    I want to do the same thing & that’s how I landed here.

    What tag shoul I use to print Meta Description from Yoast SEO plugin, above my post content.

    I would really appreciae that :)

  2. Chatung says:

    Ok I got that !

    But, on the process seems i encounter one single doubt.
    So, according to it, We will be getting the same content on both the “Meta description” and “Excerpt”. Is there any sort of chance of penalize by the search engine (for duplicate content) ?

    *Beginner Blogger here, so pardon if i do sound IDIOT.