Skip to Content
Strapi Page Builder 1.0 is now available 🎉

Using Templates

Strapi Page Builder can only be used with content types that have a relation to the Template content type. This is done in the Strapi Content-Type Builder. Once a template has been created, it can be assigned to any content type that has a relation to the Template content type.

Adding a Template Relation

In order to be able to edit a template for a content type, you must first add a relation field to the content type. This is done in the Strapi Content-Type Builder.

  1. Open the Content-Type Builder in Strapi.
  2. Select the content type you want to add the template relation to.
  3. Click on the “Add new field” button.
  4. Select the “Relation” field type.
  5. Choose the the Template from page-builder in the available fields.
  6. Name the field template or something similar (by default this is set as page-builder-template). The documentation will refer to this field as template in the examples.

Strapi Page Builder

Assigning a Template to a Content Entry

Strapi Page Builder does not automatically assign templates to your content. Upon creating a new template that you wish to use, you must assign it to your content using the Strapi Content Manager.


Strapi Page Builder
Last updated on