---
title: Create a Custom Post Type in Purple Hub
slug: editorial/create-a-custom-post-type-in-purple-hub
description: 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.
docTags: 
createdAt: 2022-10-11T13:27:26.000Z
---

<font color="#0c121d">Purple Hub</font>

***

## 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.

::Image[]{src="https://images.tango.us/workflows/61e7d9cf-97f6-4c04-bad4-73b9dcacddbf/steps/33144dd0-86aa-43d4-a2d9-9e778c6e335d/8d1e5c20-c7fd-4033-8e9b-253f15d3c93d.png?crop=focalpoint&fit=crop&fp-x=0.5000&fp-y=0.5000&fp-z=1.0000&w=1200&ar=1085%3A1008" size="70" width="1200" height="1115" position="center" showCaption="false"}

2\. Click on 'Add/Edit Post types'.

::Image[]{src="https://images.tango.us/workflows/61e7d9cf-97f6-4c04-bad4-73b9dcacddbf/steps/baf242b5-2054-4c22-9dca-b3514c89dc7d/60002aba-e77c-481e-a978-fff4382f6624.png?crop=focalpoint&fit=crop&fp-x=0.5000&fp-y=0.5000&fp-z=1.0000&w=1200&ar=1266%3A966" size="70" width="1200" height="916" position="center" showCaption="false"}

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.

![](https://images.tango.us/workflows/61e7d9cf-97f6-4c04-bad4-73b9dcacddbf/steps/e733fdfd-f2f3-4763-9930-715c447d1ae9/cc3b5c92-76df-44b4-9cb8-2584fd47a1bd.png?crop=focalpoint\&fit=crop\&fp-x=0.5000\&fp-y=0.5000\&fp-z=1.0000\&w=1200\&ar=2353%3A1222)

4\. Next to 'Plural Label' enter the plural of the term naming your new post type e.g. Recipes (starting with a capital letter).

![](https://images.tango.us/workflows/61e7d9cf-97f6-4c04-bad4-73b9dcacddbf/steps/017739bf-5076-49c9-8d9c-92c4748cb45c/8e63453a-fa58-470f-b638-d7202c0ffa11.png?crop=focalpoint\&fit=crop\&fp-x=0.5000\&fp-y=0.5000\&fp-z=1.0000\&w=1200\&ar=2310%3A1012)

5\. Next to 'Singular label', enter the Singular of the term naming your new post type e.g. Recipe (starting with a capital letter).

![](https://images.tango.us/workflows/61e7d9cf-97f6-4c04-bad4-73b9dcacddbf/steps/90cddf58-79c8-4e0b-b013-2e77c8a105d7/f40d2ea7-7826-4197-b0a9-a31005811711.png?crop=focalpoint\&fit=crop\&fp-x=0.5000\&fp-y=0.5000\&fp-z=1.0000\&w=1200\&ar=2344%3A1012)

6\. Next to 'Auto-populate labels', 'click on 'Populate additional labels based on chosen labels'.

![](https://images.tango.us/workflows/61e7d9cf-97f6-4c04-bad4-73b9dcacddbf/steps/8e59d6ec-f7dd-4792-9160-d1dced21c816/c0deab4a-67c8-4cda-843c-bebb0958c692.png?crop=focalpoint\&fit=crop\&fp-x=0.5000\&fp-y=0.5000\&fp-z=1.0000\&w=1200\&ar=2324%3A1012)

7\. Scroll down to 'Supports' and click in the checkbox next to 'Excerpts' to enable excerpts for your new post type.

![](https://images.tango.us/workflows/61e7d9cf-97f6-4c04-bad4-73b9dcacddbf/steps/cb4076b1-08ae-44bb-9f12-038aeb54b69a/dc6c104a-026f-4819-a3b5-0ad641fbd72c.png?crop=focalpoint\&fit=crop\&fp-x=0.5000\&fp-y=0.5000\&fp-z=1.0000\&w=1200\&ar=2368%3A1387)

8\. Scroll down to the bottom of the page and click on 'Add Post Type'.

![](https://images.tango.us/workflows/61e7d9cf-97f6-4c04-bad4-73b9dcacddbf/steps/274999ef-c6b4-4653-a539-cda60a6e63df/0bc44244-be42-4df5-bf12-f9fc1bf798ce.png?crop=focalpoint\&fit=crop\&fp-x=0.5000\&fp-y=0.5000\&fp-z=1.0000\&w=1200\&ar=2373%3A971)

9\. You can find your newly created post type in the left-hand side menu, below 'Pages'.

![](https://images.tango.us/workflows/61e7d9cf-97f6-4c04-bad4-73b9dcacddbf/steps/baa2186a-0954-4158-850f-e99835d982fa/43cb060d-4c27-4507-99d6-b6a056d61e90.png?crop=focalpoint\&fit=crop\&fp-x=0.0875\&fp-y=0.4118\&fp-z=2.1053\&w=1200\&ar=2880%3A1440)

:::hint{type="success"}
You have now successfully created a new Custom Post type, which you can access from the left-hand side menu bar.&#x20;
:::



### 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:

1. Open the settings of the custom post type
2. Scroll down to the bottom to "Editor Options"
3. Set the setting for "Hide Block Editor" to true and save the settings:&#x20;

![](https://api.archbee.com/api/optimize/ffT1XlDSDJpsn08_nTNip-HpB44EFqdr05XmtF7CX-I-20250423-080955.png)

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":

![](https://api.archbee.com/api/optimize/ffT1XlDSDJpsn08_nTNip-etqhxBX8UqUOCo2NKNilw-20250423-081433.png)

