/
Inline Content and Posts

Inline Content and Posts

Plate recognizes theme files for Inline Content and Posts.

Inline Content fall within the Plate Nested Layout component Structure: Sections and Elements.

Posts are Posts.

Theme files for inline content (Sections, Elements)

Inline content theme files are small snippets of code, which are loaded in the inline content structure.

E.g.
sections/page_sections/page_section.plate
elements/colored_buttons/colored_button.plate

Posts

Posts have their own url. It's content with Post Type enabled. Post theme files inherit directly from the theme layout, which defaults to 'theme' (layouts/theme.plate). There must always be a index.plate present in the posts theme folder, for the overview page.

Like in the case of Categories:

index.plate for the url /categories
show.plate for the url /categories/my-category

E.g.
posts/categories/index.plate
posts/categories/show.plate

Related content

The Plate Nested Layout Structure
The Plate Nested Layout Structure
More like this
Theme files
Theme files
More like this
Theme Structure
Theme Structure
Read with this
Content Types
Content Types
More like this
Trays
Read with this
Theme Layouts
Theme Layouts
More like this