Latest SeedProd News

WordPress Tutorials, Tips, and Resources to Help Grow Your Business

How to Customize WordPress Post Excerpts (Without Code)

How to Customize WordPress Post Excerpts (Without Code) 

Written By: author image Stacey Corrin
author image Stacey Corrin
Stacey has been writing about WordPress and digital marketing for over 10 years and on other topics for much longer. Alongside this, she's fascinated with web design, user experience, and SEO.
     Reviewed By: John Turner
reviewer image John Turner
John Turner is the co-founder of SeedProd. He has over 20+ years of business and development experience and his plugins have been downloaded over 25 million times.

Do you want to customize your WordPress post excerpt?

An excerpt is a short preview of full posts that you can display on your blog page, in widget areas, and on other pages on your WordPress site.

In this article, we’ll show you how to customize your WordPress post excerpts without writing a single line of code.

When to Use WordPress Post Excerpts

First, let’s talk about why it’s a good idea to customize excerpts on your WordPress site.

WordPress will display the full post content on your homepage, blog page, and archives when you publish a blog post. Unfortunately, this can slow your website and impact your search engine rankings because you’ll have the same content on multiple pages.

However, if you use excerpts, it won’t display full articles. Instead, your web pages will show an excerpt box with a short snippet of the post content, avoiding duplicate content and page speed issues.

Some of the best places to use excerpts include:

  • Your homepage, if it displays posts
  • Archive pages for tags and categories
  • Your blog page, if you have a static homepage

If you’re using a modern WordPress theme, it may support excerpts and have them built into its settings. Many themes also allow you to customize the excerpts functionality, letting you choose where to display excerpts versus full posts.

Why Customize Post Excerpts in WordPress?

Some WordPress themes generate an excerpt for posts automatically. By default, WordPress uses the beginning 55 words of your post for the snippet, although other themes may show more.

However, this can be an issue if you have content before your post’s introduction.

Because the auto-generated excerpt starts with any text at the beginning of your post, it can include unnecessary content, such as your meta descriptions, image credits, and more.

Here’s an example of what we mean:

A post excerpt shown in the Ribosome theme

As you can see, the extra details from the start of the post don’t look professional and can confuse your website visitors.

If your current WordPress theme doesn’t handle excerpts well, you may want to customize them. That way, they will be easier to read and generate more post clicks.

Now that you know what excerpts are, let’s look at the different methods to customize them on your site.

How to Customize the WordPress Post Excerpt

In the steps below, we’ll share 3 ways to customize your WordPress post excerpts.

The first method will show you how to create a custom WordPress theme (without code) and use easy point-and-click settings to add custom excerpts. The second method will show you how to use the default WordPress editor to customize post excerpts.

Then, the final method shows you how to edit your theme files to display custom post excerpts manually.

Click the links below to jump to the method that best suits your needs.

1. Add Custom WordPress Post Excerpts to Your Theme

If your current WordPress theme doesn’t include the functionality to customize WordPress post excerpts, you may not know what to do next. Should you change your WordPress theme or manually code excerpts into your theme files?

Luckily, there’s a 3rd option. You can build a custom WordPress theme with SeedProd, and customize excerpts with a few clicks.

SeedProd WordPress website builder

SeedProd is the best WordPress website builder. With this powerful plugin, you can create WordPress themes from scratch and add custom features for your business website, including:

More importantly, SeedProd requires no code, design, or technical expertise. It will automatically generate all the theme template files, allowing you to customize your WordPress theme with its drag-and-drop page builder.

Click here to get started with SeedProd, then follow this step-by-step guide to create a custom WordPress theme. After, you can follow these instructions to add customizable post excerpts to your new theme.

Edit Your Blog Page Template

After creating your WordPress theme with SeedProd, go to the SeedProd » Theme Builder screen from your WordPress admin. On this page, you’ll see a list of the templates that make up your new theme.

Edit blog page theme file with SeedProd

You can customize each template visually with SeedProd’s visual editor.

Next, scroll through the list until you see the Blog, Index, Archives, Search template file, then click the Edit Design link.

Customize WordPress Post Excerpt

Now, the template will open in the live page builder, where you can point and click to customize its appearance and functionality.

Blog page tempalte in SeedProd's drag-and-drop builder

The layout of this template depends on the settings you chose when picking your website kit. By default, your blog page template will show the following elements:

  • Heading
  • Archive Title
  • Posts

To customize your post excerpts, click on the Posts block on your live preview. After doing that, you’ll see the block settings on the left-hand side of your screen.

SeedProd posts block settings

In this panel, you can choose what to show users when they visit your blog page. For example, you can list blog posts by query type, change the column layout, display pagination, show the featured image, and adjust the title tag.

You can also show or hide the post excerpt in the same panel by turning the Show Excerpt toggle on or off.

Turn on the Show Excerpt toggle in SeedProd's post block

After turning the toggle to the ‘On’ position, you can change your excerpt length by entering a custom character count. You can also enable a Read More link and customize its text.

Customize excerpt 'read more' link text

When you’re happy with your custom post excerpt, click the Save button in the upper right corner of your screen.

Remember: To display your changes on the front end of your website, you need to enable your SeedProd theme. You can do that by going to SeedProd » Theme Builder and turning the ‘Enable SeedProd Theme’ toggle to the ‘On’ position.

Enable your SeedProd theme

Now you can see your custom WordPress post excerpts live on your site.

WordPress post excerpt example

2. Add Custom Excerpts in WordPress Editor (Default)

If you don’t want to change your WordPress theme, you can use the default WordPress block editor to add custom post excerpts.

First, edit an existing WordPress post or create a new one.

Inside the WordPress content editor, you should see the ‘Excerpt’ dropdown in the right-hand panel. Click the down arrow to expand the custom excerpt box.

WordPress post excerpt panel

Now, you can type your custom post excerpt into the box. For instance, you can copy the first paragraph of your post and paste it.

Custom WordPress post excerpt box

Click the Publish or Update button to save your changes, and then you can see your excerpt when you preview your website.

WordPress post excerpt example

Pro Tip: If you’re the classic editor, click the Screen Options tab in the top right corner. Then, tick the ‘Excerpt’ box. After, you’ll see a section for your excerpt below the area where you write your post.

3. Customize WordPress Theme Excerpts Manually with Code

As mentioned earlier, most modern themes have built-in support for custom post excerpts, but some may not. If that is the case for your current theme, you’ll have to modify your theme files manually by creating a child theme and adding code.

If you’re uncomfortable editing your theme files, you can use method 1 in this post, which doesn’t require code.

First, you’ll need to find the template file your child theme uses to display posts. Check out this guide on WordPress template hierarchy to learn which file you need.

The file names may differ depending on your theme. However, you’re most likely looking for the home.php, content.php, archive.php, and category.php files.

Inside each file, you’ll need to find this line:

<?php the_content(); ?>

Next, replace it with the_excerpt tag like this:

<?php the_excerpt(); ?>

Remember to update your files to save your changes before previewing excerpts on your website. If you’re struggling with errors, follow these steps to fix WordPress excerpts not showing.

That’s it!

Next Steps

In this guide, you’ve learned how to customize WordPress post excerpts. Here are some more tutorials that you may also find helpful:

Thanks for reading! We’d love to hear your thoughts, so please feel free to leave a comment with any questions and feedback.

You can also follow us on YouTubeX (formerly Twitter), and Facebook for more helpful content to grow your business.

author avatar
Stacey Corrin Writer
Stacey has been writing about WordPress and digital marketing for over 10 years and on other topics for much longer. Alongside this, she's fascinated with web design, user experience, and SEO.

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. We only recommend products that we believe will add value to our readers.