About Content Types

A Content Type is the structure or blueprint of a page or a section that your web or mobile property will display. It lets you define the overall schema of this blueprint by adding fields and setting its properties.

In essence, creating a content type is like creating a mold or cast that lets you create several objects (entries) of the same nature and pattern. Content types, however, should be created after you model your content appropriately. 

Content type structure.png

Here is the structure of a “News” Content Type that has a “title,” “description,” “asset,” and “date” fields. Once this content type is ready, you can create an entry for it.

Terminologies

  • Entry: After you define a content type, you can add data to your content type by creating an entry.
  • Asset: Any media file you want to upload in an entry.
  • Fields: These are the building blocks/component of your structured content. You can control which data you want to add by configuring fields and its properties in a content type.

Examples

  1. If you want to create a simple blog page on your site, you will define a “Blog” content type that has “title,” “date,” “body,” and “author” fields.
  2. If you want to create the homepage of your site, you will define a “Homepage” content type that has “header,” “footer,” “banner-image,” “title,” and “body” fields.

Customizing a Content Type

Contentstack allows you to customize a content type to meet your requirements. If you want to create a Content Type for your webpage(s), you can select Webpage Content Type.

On the other hand, if you want to create a Content Type for pages of your mobile application and partials of your webpage (header, footer, or menu), you can prefer Content Block for this purpose.

You can even set the number of entries for a particular content type by using the Single and Multiple Content Types option.

This means that if you set “Blog” content type as multiple, you can create many entries of the same structure. And if you set “Homepage” content type as single, you can only create a single entry for this content type.

Additional Resource: If you wish to learn how you can develop a content type with dynamic fields structure, refer to the Field Visibility Rules section. Additionally, for sorting content types, you can make use of Labels.

You can browse through the following topics, mentioned in the “More Articles” section, to learn which actions you can perform on a Content Type.

On This Page

top-arrow