Custom Excerpt Length

Control the length of WordPress excerpts in words and customize the “read more” link text. Perfect for matching blog archive layouts to your design requirements without editing theme code.

Use Cases

  • Set excerpt to exactly 25 words for blog archives to match your design
  • Change the default [...] to “Continue Reading” or a custom message
  • Create clickable “Read More” links instead of plain text
  • Optimize excerpt length for mobile-friendly layouts

How It Works

  1. Enable the module in Switchboard
  2. Set your desired word count
  3. Customize the read more text
  4. Changes apply immediately to all auto-generated excerpts

Settings

SettingTypeDefaultDescription
Excerpt Length (Words)Number55Number of words to display in excerpts
Read More TextText[…]Text shown after the excerpt

Excerpt Length

WordPress defaults to 55 words. Common alternatives:

LengthBest For
15-20 wordsMobile-first designs, card layouts
25-35 wordsBlog listings, magazine layouts
40-55 wordsTraditional blog archives
75+ wordsFull-width single-column layouts

Read More Text Examples

TextResult
...Post text…
[Continue Reading]Post text [Continue Reading]
%link%Post text [Read More] (clickable)
... %link%Post text… [Read More] (clickable)

The special %link% placeholder creates a clickable link to the full post:

... %link%

Displays as:

Post excerpt text… Read More

The link text is automatically translated to “Read More” in your site’s language.

Where Excerpts Appear

This module affects excerpts shown on:

  • Blog archive pages
  • Category and tag archives
  • Search results
  • Author archive pages
  • Any template using the_excerpt()

Manually written excerpts (in the post editor’s Excerpt field) are not affected by the word count setting. They will use your full custom excerpt but will append your custom “Read More” text.

Automatic vs Manual Excerpts

Automatic Excerpts (Affected by Word Count)

WordPress generates these from your post content when you don’t write a manual excerpt. The module:

  1. Counts words from your post content
  2. Cuts off at your specified limit
  3. Appends your “Read More” text

Manual Excerpts (Not Affected by Word Count)

When you write a custom excerpt in the post editor:

  1. Your full excerpt is used (no word limit)
  2. Your “Read More” text is still appended

Design Tips

Mobile Optimization

Shorter excerpts (15-25 words) work better on mobile:

  • Less scrolling required
  • Cards and grids look cleaner
  • Faster visual scanning

Consistency

Use the same excerpt length across your site for visual consistency. If your theme has multiple archive styles, the single setting ensures uniformity.

Call to Action

Using %link% creates a clear call-to-action:

  • More clickable than plain ...
  • Improves user engagement
  • Better for accessibility

Compatibility

Works With

  • All themes using WordPress’s the_excerpt() function
  • Most page builders that pull excerpts
  • RSS feeds

May Not Affect

  • Themes with custom excerpt functions
  • Page builders with their own excerpt settings
  • Custom post type archives (depends on theme implementation)

FAQ

Why didn’t my excerpt length change?

If excerpts aren’t changing length:

  1. Clear any caching plugins
  2. Ensure the module is enabled
  3. Check if your theme uses custom excerpt code instead of the_excerpt()
  4. Verify you’re looking at auto-generated excerpts, not manual ones
Can I have different lengths for different post types?This module applies one length globally. For per-post-type control, you would need custom code or a different solution.
How do I remove the read more text entirely?Set the “Read More Text” field to empty (blank). The excerpt will end without any trailing text.
Does this affect the REST API?The REST API returns the full excerpt.rendered which may include your custom read more text, but excerpt length in API responses may vary depending on how clients request data.
PRO

Get access to all 147 modules with a single license

Upgrade to Pro