Create a Content Type | Classic

Content type consists of a set of fields that define the structure of your web page or mobile property.

Additional Resource: Check out the Content Modeling section to understand how you can define the structure of a content type as per the requirement.

To create a content type, log in to your Contentstack account, and perform the following steps:

  1. Go to your stack where you want to create a content type, and click on the Content tab (if it is not open) at the top.
  2. Click on the + New Content Type button.
  3. In the Create New Content Type forms that appears, perform the following steps:
    1. Select either Webpage or Content Block depending on the content structure:
      1. Webpage: For web pages (such as home page, about us, and so on)
      2. Content Block: For mobile applications or the partials of a website (header, footer, navigation, menu).

      Note: By default, you will find both the Title and URL fields in case of the “Webpage” content type, but for “Content Block” you will only find the “Title” field.

    2. Enter the Name for the content type. The Unique ID will be auto-generated.
    3. Based on the number of entries you want to create, select either Single (for creating a single page) or Multiple (for creating multiple pages of same structure)
    4. Add a Description for your stack. This is an optional step.
  4. Finally, click on Create and Add fields.

In the Content Type Builder page, drag and drop the fields you want, modify their behavior by setting their properties, and click on either Save or Save and Close to save your content type.

Here is an example of a News content type in the following screenshot:

News Content Type.png

You can even create a content type by two other methods:

  1. By importing the JSON schema of your content type via the Contentstack UI
  2. By means of the Create a content type API request.

Note: You can check out our documentation on how to generate the JSON schema for creating a content type to know how you can add/update fields in your content type.

After successful creation of the content type, you can start adding entry(ies) and publish them to an environment.

Was this article helpful?

Thanks for your feedbackSmile-icon

On This Page