Create a Custom Post Type in Hub
Purple Hub
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.
- Have at least Administrator role in the Hub
- Have the 'CPT UI' plugin enabled in your Hub
1. Go to Purple Hub, scroll down in the left-hand side menu bar to 'CPT UI' and click on it.
![Document image Document image](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)
2. Click on 'Add/Edit Post types'.
![Document image Document image](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)
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.
![Document image Document image](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).
![Document image Document image](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).
![Document image Document image](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'.
![Document image Document image](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.
![Document image Document image](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'.
![Document image Document image](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'.
![Document image Document image](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)
You have now successfully created a new Custom Post type, which you can access from the left-hand side menu bar.