Introduction to post types
In WordPress, “Post Types” refers to different types of content that can be created and managed on a website. Originally launched in 2003 as a blogging platform, WordPress has since evolved into a robust Content Management System (CMS). The term “Post” was used to refer to blog posts and it stuck as new types of content were added. Hence, the term “Post Type” is used to describe the various content types available in WordPress.
WordPress comes with several default post types, including:
- Post
- Page
- Attachment
- Revision
- Nav Menu
In Voxel, you can create and manage post types using the built-in interface in WP-admin > Post Types.
Creating a post type with Voxel
To create a new post type, simply click the “Create post type” button located on the top right side of the page.
When creating a post type, you must provide the following information:
- Singular name
- Plural name
- Key
The post type key is an identifier that must be unique. While you can make changes to the singular and plural names even after the post type is created, changes to the key are not allowed after creation.
Managing post types
With Voxel you can manage any post type available in your WordPress site, this includes:
- Custom post types you create with Voxel
- Any post types available on your site such as native WordPress post types, post types created by 3rd party plugins or others via custom code. These are automatically detected by Voxel and shown under “Other post types” section
Editing a post type
The post type editor screen is split into four main categories:
- General: Contains general settings related to the post type
- Fields: Allows you to create and manage fields for this post type
- Templates: Lists the templates related to this post type available to design
- Filtering: Setup how this post type is filtered.