← Features / Writing & editing

Excerpt generation

Summarize a draft into a clean, on-brand excerpt and write it back into the post excerpt field with a single click from the editor sidebar.

How it works

Excerpt generation reads the body of the post (or any content you paste in) and asks a language model for a short summary, then drops it directly into the WordPress excerpt field. It is exposed in the block editor through a “Generate excerpt” button next to the excerpt panel, in the classic editor through a metabox button, and as a REST endpoint your own integrations can call.

Block editor showing automatic excerpt generation for a post using OpenAI.

Configuration

  • Target excerpt length in words.
  • Customisable system prompt to match house voice.
  • Default provider and model.
  • Allowed roles and an allowed-users list for granular access control.
  • Per-user opt-out from the user’s own profile screen.

Providers

Excerpt generation supports the broadest provider set in ClassifAI:

  • OpenAI ChatGPT
  • Azure OpenAI
  • Google Gemini
  • xAI Grok
  • Ollama (locally hosted)
  • Chrome built-in AI (experimental, on-device)

Beyond the editor

The same generator is available as a REST endpoint and as a WP-CLI command (wp classifai generate_excerpt) so existing archives can be backfilled in a single batch — useful when adding excerpts to thousands of legacy posts that were published without one. Excerpt generation is one of the most-used ClassifAI features in production because it removes the most-skipped step in the publishing flow.

From the WordPress experts at Fueled, formerly 10up.

We’ve been delivering enterprise-grade digital work on WordPress since 2011, building and growing sites for global newsrooms, Fortune 500 marketing teams, ambitious startups, and public-sector clients. Our team helps lead the official WordPress Core AI team and has led and contributed to multiple WordPress core releases.

We also partner directly with organizations to build with AI and bring it into their digital products and marketing — on or off WordPress.

15+

years building enterprise WordPress, since 2011

1M+

active installs across plugins authored by our team

Core

co-leads of the official WordPress AI Team

Multi

WordPress core releases led and contributed to