Admin
Content Model
Create a Custom Post Type in Purple Hub
9 min
purple hub purple hub summary in this article, you learn how to create a custom post type in purple hub you will name it, create a slug, for your post type term and enable excerpts for it we will work with the example post type 'recipes' in this guide preconditions have at least administrator role in the hub have the 'cpt ui' plugin enabled in your hub how to guide 1\ go to purple hub, scroll down in the left hand side menu bar to 'cpt ui' and click on it 2\ click on 'add/edit post types' 3\ next to 'post type slug' enter the desired slug for your new post type (which will occur in the url as well) in lower case letters, e g recipes 4\ next to 'plural label' enter the plural of the term naming your new post type e g recipes (starting with a capital letter) 5\ next to 'singular label', enter the singular of the term naming your new post type e g recipe (starting with a capital letter) 6\ next to 'auto populate labels', 'click on 'populate additional labels based on chosen labels' 7\ scroll down to 'supports' and click in the checkbox next to 'excerpts' to enable excerpts for your new post type 8\ scroll down to the bottom of the page and click on 'add post type' 9\ you can find your newly created post type in the left hand side menu, below 'pages' you have now successfully created a new custom post type, which you can access from the left hand side menu bar disable the block editor there can be several cases where it might not be necessary to have a block editor for a post type because only custom fields need to be published the block editor for this post type can be disabled the following way open the settings of the custom post type scroll down to the bottom to "editor options" set the setting for "hide block editor" to true and save the settings if you now create a new post of this post type, the editor itself is hidden if you want to change the title of these posts, it can be done by clicking on the three dots in the editor sidebar and select "rename"