Create an automatic schema

The first step is to enable Structured data types.

Once done, you can now go to SEO > Schemas post type.

To create a new schema, click Add schema button.

Start by giving a name to your schema, for example, Article.

Select the type of schema to create: article, video, event, product, local business…

Choose the post type where the schema should appear.

Then fill in all the fields. For each one of them, you can select:

  • dynamic variables (name of the site, post permalink, date of modification, post excerpt…),
  • a custom field to map automatically the data entered from each single post type,
  • write a global manual value,
  • or a manual value from each post.

When the mapping is complete, click Publish.

Screenshot - Automatic schema creation
Screenshot – Automatic schema creation

You can create as many schemas as you want for the same post type.

Once your schemas are created and published, they are automatically added to the source code of your articles, pages, or post type.

If for a schema, you have entered manual values for each post, go to one of the posts, and then in the  Structured Data Types metabox, click the Automatic tab.

The list of all schemas for the current post is displayed.

You can then edit here the manual values.

Save and clear your cache if you have one.

Screenshot - Structured data types metabox, automatic schemas tab
Screenshot – Structured data types metabox, automatic schemas tab

Et voilà!

Last modified: May 15, 2019