Post Types

Content

Post Types

Post types define the different kinds of content in your project. Learn how to create and configure them to model any content structure.

What are Post Types

The foundation of your content structure

A post type is a content model that defines a category of content in your project. For example, a typical website might have post types for:

  • Pages — static pages like Home, About, Contact
  • Blog — articles with dates, authors, and categories
  • Products — items with prices, images, and specifications
  • Team — team member profiles

Each post type has its own templates, categories, properties, and URL structure. You can create as many post types as your project requires.

Creating a Post Type

Setting up a new post type

When creating a post type, you configure the following:

  • Title — the display name (e.g., "Blog Articles")
  • Key — a unique identifier used internally (e.g., "blog_articles")
  • Slugs — the URL prefix per language (e.g., "/blog" in English, "/artigos" in Portuguese)
  • Templates — one or more templates that define the page layout

The slug determines the URL structure for all posts within this type. For example, a blog post titled "My First Post" with slug prefix "/blog" would be accessible at /blog/my-first-post.

Post Type Options

Configuration options

Post types have several options that change their behavior:

  • Single Page — when enabled, this post type can only have one post. Useful for unique pages like Home or Contact that should only exist once
  • Hierarchy — enables parent-child relationships between posts. A post can be nested under another, creating a tree structure (e.g., Services → Web Development → E-commerce)
  • Event Format — adds date-related fields for event-based content like conferences, workshops, or meetings
  • Webservice — exposes this post type through the public API for external access

Global Post Types

Share content across projects

Global post types allow you to create a content model in one project and share it across other projects in the same Svalla installation.

This is useful when multiple websites need access to the same content — for example, a shared footer, legal pages, or company information.

  • The origin project has full edit access to the post type and its content
  • Other projects get read-only access to the shared content
  • Changes made in the origin project are reflected everywhere

Managing Post Types

Editing and organizing

After creating a post type, you can:

  • Edit settings — update the title, slugs, or options at any time
  • Assign templates — add or remove templates to change available page layouts
  • Configure categories — add category types for content organization and filtering
  • Set permissions — control which users can create, edit, or view posts within this type
  • Add properties — attach custom fields for additional data

Post types are listed in the sidebar for quick access. Each post type shows the number of posts it contains.