Docs / features
Page Summaries
What Are Page Summaries?
Page summaries are short descriptions of each synced page, drafted by an AI model and edited by you in WordPress. Shown on the page, they give people and crawlers the same plain statement of what the page covers.
Why This Matters
A summary states in a few sentences what the page covers. You edit it in WordPress; shown on the page, people and crawlers read the same words. Where edits are saved and how they reach Topmast is in Editing and Sync.
Why Summaries Matter
A Plain Statement of the Page
A summary says what the page offers, who it's for and the key details, in a few sentences. We can't show that any assistant uses it; what it does is put a clear, checked description on the page and in your machine copies.
Better Than Excerpts
Standard WordPress excerpts aren't optimized for AI:
| WordPress Excerpt | AI Summary |
|---|---|
| First 55 words | Key information extracted |
| May cut mid-sentence | Complete, coherent summary |
| Generic content | Written about the whole page |
| Static content | Can be regenerated as needed |
Viewing Summaries
In WordPress Admin
Go to Topmast → Content → Summaries to see all generated summaries:
- Page URL
- Generated summary text
- Generation date
Via Dashboard
Your Topmast dashboard shows summary coverage:
- Total pages synced
- Pages with summaries
- Pending summaries
Using WP-CLI
# List pages and their summary status
wp topmast summaries list
# List only the pages that still need one
wp topmast summaries list --status=no_summary
# Show the summary for one page
wp topmast summaries show 123
# Export to CSV
wp topmast summaries list --format=csv > summaries.csvSummary Generation
When Summaries Are Generated
Summaries are created when you press Generate missing summaries, run wp topmast summaries generate, or regenerate one page's summary in the dashboard.
Generation Process
- Page content is extracted from WordPress
- Content is sent to a model from OpenAI, Anthropic or Google, chosen by Topmast
- AI generates a short summary
- Summary is cached in Topmast database
- Summary is used in LLMs.txt and other features
Summary Content
What's Included
A good summary covers:
- What the page offers (products, services, information)
- Who it's for (target audience)
- Key details (pricing, features, benefits)
- Unique value (what differentiates from competitors)
Example Summary
Page: Bookkeeping Services
Summary:
Example Co offers monthly bookkeeping, payroll and year-end accounts for small businesses, with fixed monthly fees.
Managing Summaries
Regenerate a Summary
If a summary is outdated or inaccurate:
- Edit it in WordPress: Topmast → Content → Summaries, or Summary in the block editor's Topmast panel
- Or regenerate it from your site's Content tab in the dashboard, which shows summaries read-only
Check Summary Coverage
wp topmast summaries statsUsing Summaries on the Page
A summary that exists only in your llms.txt isn't on the page a visitor or crawler fetches. There are three ways to get it onto the page itself, and they all render exactly the same markup.
Auto-Display
Topmast → Content → Summaries carries the Content settings form:
| Setting | What it does | Default |
|---|---|---|
| Auto-Display Summaries | Insert the summary into every page that has one | Off |
| Display Position | Before or after the page content | Before content |
| Serving Destination | On-page, machine-only, or both | Both |
Auto-display is the one to reach for when you want summaries everywhere and do not want to edit each page. Turn it off and place them by hand where the position matters.
The Block
In the editor, add the AI Summary block wherever the summary should sit. It shows a placeholder until that page has a summary.
The Shortcode
For the classic editor, page builders, or a theme template:
[topmast_summary]| Attribute | What it does | Default |
|---|---|---|
id | Show another page's summary instead of this page's | The current page |
class | Add a class to the wrapper | None |
[topmast_summary id="42" class="intro-summary"]In a template: echo do_shortcode( '[topmast_summary]' );
Nothing Renders on Machine-Only Pages
A page whose serving destination is machine-only serves its summary through llms.txt, llms-full.txt and its .md file alone. The block and the shortcode both deliberately render nothing there. See Serving Destination.
Approve
An AI-written summary or FAQ set reaches the .md file only once it shows on the page or you approve it, and Topmast's llms-full.txt carries only approved text (it can't see the page). Press Approve on the editor panel's Summary or FAQ screen, or edit the text. Text you wrote or approved is kept when you regenerate. An approved summary is also the page's meta description where you gave none and the page has no excerpt.
Markup and Classes
Every path emits the same skeleton:
<div class="topmast-summary topmast-summary--open">
<span class="topmast-summary-label">Summary</span>
<div class="topmast-summary-content"><p>…</p></div>
</div>In collapsed mode the wrapper is a <details> and the label its <summary>. The block adds a .wp-block-topmast-summary wrapper around it.
Colours, open or collapsed, whether the label shows, per-page overrides and Custom CSS are all in Appearance.
Where Else Summaries Are Used
In LLMs.txt
Summaries appear in your LLMs.txt file:
## Pages
- Bookkeeping: /bookkeeping
Example Co offers monthly bookkeeping for small businesses...Schema Markup
Summaries describe each page's WebPage schema entry.
Best Practices
Improve Source Content
Better page content leads to better summaries:
- Write clear, descriptive titles
- Include key information in the first few paragraphs
- Use bullet points for features/benefits
- Include pricing and availability when relevant
Review Summaries
Periodically review summaries for accuracy:
- Check factual information
- Verify pricing is current
- Ensure descriptions match offerings
Keep Content Fresh
Regenerate summaries when you:
- Update pricing or availability
- Add new features or services
- Rebrand or change messaging
- Make significant content changes
Troubleshooting
Summary Not Generated
Possible causes:
- Page not synced - run a content scan
- Generation failed - check error logs
- API credits exhausted - check your plan
Summary Is Inaccurate
Solution:
- Update the source page content
- Regenerate the summary
- Review the new summary
Summaries Missing Key Info
Tips:
- Add key information prominently in page content
- Use clear headings and structure
- Include specific details (prices, features, locations)