Custom Post Types & Taxonomies

30-45 minIntermediate

Contentful uses 'Content Models' to define the structure of your content, equivalent to Custom Post Types in WordPress.

Prerequisites

  • Space Administrator role
Beginner Recommended

Content Model

Visual schema builder.

1

Create Content Type

1

Go to the 'Content model' tab.

2

Click 'Add content type'.

3

Give it a name (e.g., 'Blog Post', 'Event') and ID.

2

Add Fields

1

Add fields to your model (Text, Rich Text, Date, Media, etc.).

2

Configure validation (required, unique) and appearance (slug generator).

3

References

1

Use the 'Reference' field to create relationships (e.g., Post has one Author).

Verification Checklist

  • Go to the 'Content' tab and try to create a new entry of your type.
  • Verify the API response contains the expected fields.