• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

WP SITES

2784

Original Genesis Tutorials & 6000+ Guaranteed Code

Snippets

  • Consultation
  • Full Access
  • Log in

Using Excerpts & Post Summary Teasers in WordPress

Have you ever wanted to display a different post summary or excerpt on your blog page or rss feed?

When i say different, i mean different to what WordPress or your theme automatically generates.

By default, your WordPress theme automatically generates a few lines for display in:

  • Different archives – Author, Category, Tag etc
  • RSS feed – If you have set it to display a summary rather than full text
  • Your blog page post teasers which may also be your home page
  • Meta Description which is displayed in search results

You’ll find the excerpt box below every Edit post screen.

If it’s not showing there, go to your screen options tab in the top right hand corner of every screen and from the drop down, check the box to display it.

Post Excerpt

Adding a custom excerpt in this box will change the post summary WordPress automatically generates meaning it won’t be the same as the first few lines of your post content.

Additionally, if you have a SEO plugin installed, it may also change the meta description snippet which is displayed in the search results.

This depends on what you wrote last. The excerpt or the meta description.

If you add a meta description and then an excerpt, the excerpt will be displayed as the meta description rather than the custom meta description you added previously.

Lets take a look at an example of this post that i have written:

The above screen shot shows the excerpt which is the same as the meta description displayed in the Snippet preview using the WordPress SEO by Yoast plugin below.

SERPS Snippet

If you are using this plugin you’ll also notice that the meta description field is blank even though its displayed in the snippet and different to the first few lines of the post content.

Post content summary

Why Add a Custom Excerpt?

  1. If you have problems with scrappers copying your RSS feed, you may want to use the excerpt field. This will create some totally unique content that’s not in your post content.
  2. You may want to add sales copy that draws in your readers but doesn’t contain keywords.
  3. You may want a summary that totally different than what the first few lines of your post contains.
  4. You may want an excerpt that’s totally different to whats displayed in the search results snippet.

Example

Here’s a full page screenshot showing 3 different excerpts:

  • Post content first line
  • Default Genesis theme SEO settings for meta description
  • Native WordPress Excerpt box

3 Different Excerpts in WordPress

You can see from this example that once the post is published, the blog page which contains the post teaser, archives and search results pages, will all contain a different post summary or excerpt.

Front end post teaser or excerpt

When you click on the post teaser, the content you read on the first line or two will be different to what you have added in the excerpt field.

This is the first line in the post body content area

Post Excerpts On Pages

You can also add excerpts on pages.

Simply paste this PHP code at the end of your child themes functions.php file.

Conclusion

The excerpt field allows you to add summary which is different from your post summary teaser as well as potentially being different than the search results snippet.

You can also add an excerpt field to your pages by adding a plugin or some code to your child themes functions.php file.

And you also add HTML tags in the Excerpts meta box as well. Otherwise you default excerpts will not contain HTML tags. You can add HTML tags back to post excerpts simply by adding some code to your child themes functions.php file.

Related Tutorials

  • Add a Custom Read More Link After Hand Crafted Manually Added Excerpts

Reader Interactions

Comments

  1. Janeth says

    January 11, 2014 at 4:18 am

    Sorry Brad, I am so tired right now that I think I am not thinking clearly. But I am fine now.

    Thank you very much for answering my request, I really appreciate it.

    I created a custom post type named places and also I have two custom fields named first_name and address. I wanted to pull each custom post type as an standard blog posts with excerpts. I used the Excerpt box to write a short introductory paragraph, but I would like also to add the first_name and address custom fields to the excerpt. I am not sure if there is another way to do it. I am just starting with Genesis Theme and actually coding on it.

    Thanks in advance,

    Janeth

    Log in to Reply
    • Brad Dalton says

      January 12, 2014 at 7:58 pm

      I suggest you look at hiring a Developer if you can’t work it out yourself.

      I get dozens of requests everyday for free custom coding and just don’t have the time to write and test code when i’m already working for clients who hire me.

      Log in to Reply
      • PassingBy says

        October 28, 2014 at 5:12 pm

        Should have gave him a price on what it would cost to write this custom code 😉 You never know he might have paid. But instead you went for the go somewhere else ..

        Log in to Reply
  2. Brad says

    January 11, 2014 at 3:19 am

    Dear Brad,

    Do you know if there is a way to add custom fields to the excerpt box?

    Thanks

    Janet

    Log in to Reply
    • Brad Dalton says

      January 11, 2014 at 3:23 am

      Dear Brad,

      Not sure you need to.

      Happy to help but what exactly do you want to do?

      Log in to Reply

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

Code written by Brad Dalton specialist for Genesis, WooCommerce & WordPress theme customization. Read More…

Advertise · WPEngine · Genesis · Log in

  • Access Problems
  • Account Details
  • Consulting
  • Tags
 

Loading Comments...
 

You must be logged in to post a comment.