Theme structure

Table of contents

The layout of a post in Plate is built out of the following nested layout components.

Post > Section > Row > Column > Content Element

You can assign the following types of content to your content types in the Site dashboard. These Content Types can be extended by creating Content Fields.

Each kind can be selected, while Generic 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

Need help?

Do you have any question which is not answered in this knowledge base? Contact us. We are here to help you.