Skip to content Skip to navigation
Back to the main support

Create an automatic schema

Automatic schemas apply a reusable structured-data template to matching posts, pages or custom post types. SEOPress PRO fills its properties from the sources you choose, so you do not have to recreate the same schema for every item.

Enable schemas and create a template

  1. Open SEO > PRO > Structured Data Types, enable the feature and its metabox, then save.
  2. Go to SEO > Schemas and click Add schema.
  3. Give it a descriptive internal name, such as “Article — blog posts”.
  4. Select the schema type that describes your content: Article, Product, Event, Local Business or another supported type.

Choose where it applies

Set the display conditions using post types, taxonomy terms or post IDs. Conditions joined by AND must all match; alternative groups joined by OR allow different sets of content to match. Use the matching-content preview to check the scope before saving.

For an Article schema on blog posts only, target the Posts post type. For a narrower template, add a category condition. You can create several schemas for the same content, but avoid duplicate templates describing the same entity unintentionally.

Map each property

  • Dynamic variable: use a post title, permalink, excerpt or another available value.
  • Custom field: enter or select the field key containing that property on each post.
  • Global manual value: enter one value shared by every matching post.
  • Manual value on each post: reserve the field for individual editing in the post’s schema metabox.

The available sources depend on the property. For example, map the Article headline to the post title and use a global publisher name. Do not put the same product price or local address everywhere unless it is genuinely shared.

Preview, save and complete individual values

  1. Open the JSON-LD preview and choose a content item in the preview selector.
  2. Check resolved values, missing fields and display conditions. Change the selected post to test another case.
  3. Click Save schema.
  4. For fields configured individually, edit a matching post, open the SEO metabox’s Schemas / Automatic section and fill in its manual values.
  5. Update the post and clear the page cache.

Validate the published page

The preview helps configure the template; it is not a Google eligibility test. Inspect the public page and run its URL through Google’s Rich Results Test and Schema.org Validator. Correct missing data and ensure the markup describes visible content.

If nothing appears, check that Structured Data Types is enabled, the template is saved, its conditions match and the post has not disabled that automatic schema. Check custom-field keys and individual values, then clear caches. Valid markup does not guarantee a rich result.