Menu

Docs / features

Page Summaries

How Topmast generates AI-optimized summaries for your pages.

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 ExcerptAI Summary
First 55 wordsKey information extracted
May cut mid-sentenceComplete, coherent summary
Generic contentWritten about the whole page
Static contentCan 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.csv

Summary 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

  1. Page content is extracted from WordPress
  2. Content is sent to a model from OpenAI, Anthropic or Google, chosen by Topmast
  3. AI generates a short summary
  4. Summary is cached in Topmast database
  5. 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:

  1. Edit it in WordPress: Topmast → Content → Summaries, or Summary in the block editor's Topmast panel
  2. Or regenerate it from your site's Content tab in the dashboard, which shows summaries read-only

Check Summary Coverage

wp topmast summaries stats

Using 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:

SettingWhat it doesDefault
Auto-Display SummariesInsert the summary into every page that has oneOff
Display PositionBefore or after the page contentBefore content
Serving DestinationOn-page, machine-only, or bothBoth

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]
AttributeWhat it doesDefault
idShow another page's summary instead of this page'sThe current page
classAdd a class to the wrapperNone
[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:

  1. Update the source page content
  2. Regenerate the summary
  3. 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)