Content Types

To define content in Plate, you can create Content Types in the Site dashboard. These Content Types can be extended by creating Content Fields.

A Content Type can be assigned to different types of content:

  • Posts (Post Type)

  • Sections (Section Type)

  • Elements (Element Type)

  • Abstract Content (Undefined Content Type)

Each kind can be selected, while Abstract Content is mandatory. For example, if you enable Post Type and Element Type, it means you can create Posts and Elements with this content, provided there are theme files present in the theme.

Each type of content has it's sub folder in the root theme path:

  • for Posts /posts

  • for Sections /sections

  • for Elements /elements

Let's say you have a Content Type Employees, which has Post Type and Element Type selected. This means you can use the following theme files:

/posts/employees/index.plate /posts/employees/show.plate /elements/employees/employee.plate