DocsPress

Documentation plugin for WordPress

Link articles to your product with product references

Updated
On this page

A product reference ties an article to a part of your product: a setting, a screen, a block or a shortcode. When that part changes, an AI agent finds every article that mentions it with one request, so no article is left out of date.

Readers never see product references. They are not on the page, in the Markdown version or in llms.txt.

Add references to an article

  1. Open the article in the block editor.
  2. In the editor’s sidebar, open Product references.
  3. In References, enter one reference per line, in the form kind:identifier.
  4. Click Save or Update.

Examples:

setting:hero_height
screen:Docs → Feedback
block:docspress/help-center
shortcode:docs

You choose the kinds. Use the same kind and identifier in every article that covers the same thing, and the same spelling your code uses.

Limits

  • Up to 100 references per article.
  • Up to 256 characters per reference.
  • A reference cannot contain *.

Only people who can edit the article see and change its references.

Find articles by reference

An agent connected through the MCP Adapter uses Find articles by product reference. It accepts an exact reference, such as setting:hero_height, or a prefix that ends with *, such as setting:hero_*. Matching is case sensitive. See Connect an AI agent to your docs.

A typical request after a release: “Find the articles for every setting this pull request changed, and draft the updates.”

Was this page helpful?

Leave a Reply

Your email address will not be published. Required fields are marked *