---
title: Create a taxonomy in Hub
slug: editorial/create-a-taxonomy-in-hub
description: In this article, you learn how to create a taxonomy in Purple Hub. You will assign it to a post type and create a parent-child relation for it.
docTags: 
createdAt: 2022-10-11T13:27:26.000Z
---

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

***

## Summary

In this article, you learn how to create a taxonomy in Purple Hub. You will assign it to a post type and create a parent-child relation for it.

***

## Preconditions

- Have the  'Administrator' role in your Hub
- Have the 'CPT UI' plugin enabled in your Hub

***

## How-to guide

1\. Go to Purple Hub and click on 'CPT UI' in the sidebar.

::Image[]{src="https://images.tango.us/workflows/1ef9317c-cce0-413f-aa90-b0fa9493bd25/steps/e6caa54c-d3cf-4f39-9a68-3e564b6a16bd/85d9aee1-4abc-4412-a7bb-8cd5d787c4e8.png?crop=focalpoint&fit=crop&fp-x=0.5000&fp-y=0.5000&fp-z=1.0000&w=1200&ar=1271%3A1238" size="70" width="1200" height="1169" position="center" darkWidth="1200" darkHeight="1169" showCaption="false"}

2\. Click 'Add/Edit Taxonomies'.

::Image[]{src="https://images.tango.us/workflows/1ef9317c-cce0-413f-aa90-b0fa9493bd25/steps/9b823fbc-78af-493a-83f3-ad23961988f5/709e4220-0b17-4fa4-a28b-e43c91edcff4.png?crop=focalpoint&fit=crop&fp-x=0.5000&fp-y=0.5000&fp-z=1.0000&w=1200&ar=1428%3A1247" size="70" width="1200" height="1048" position="center" darkWidth="1200" darkHeight="1048" showCaption="false"}

3\. In the 'Taxonomy Slug' field, enter the desired slug for your new taxonomy (which will occur in the URL as well) in lower case letters, e.g. 'cuisine'.

![](https://images.tango.us/workflows/1ef9317c-cce0-413f-aa90-b0fa9493bd25/steps/a3c546f3-c8cf-4f70-8393-9d2aeadcc786/ff1a6035-a4e4-482a-baea-32979acfc5a5.png?crop=focalpoint\&fit=crop\&fp-x=0.5000\&fp-y=0.5000\&fp-z=1.0000\&w=1200\&ar=2208%3A838)

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

![](https://images.tango.us/workflows/1ef9317c-cce0-413f-aa90-b0fa9493bd25/steps/a16706e3-3570-49ed-a783-a221553d6438/734339aa-33fe-4076-9b84-723e47709c20.png?crop=focalpoint\&fit=crop\&fp-x=0.5000\&fp-y=0.5000\&fp-z=1.0000\&w=1200\&ar=2206%3A840)

5\. Next to 'Singular Label', enter the Singular of the term naming your new taxonomy e.g. 'Cuisine' (starting with a capital letter).

![](https://images.tango.us/workflows/1ef9317c-cce0-413f-aa90-b0fa9493bd25/steps/ac4889c8-fbb6-49f6-921a-ae7465f0ce88/57454a2d-1366-4b2b-91a6-f0259ff18f22.png?crop=focalpoint\&fit=crop\&fp-x=0.5000\&fp-y=0.5000\&fp-z=1.0000\&w=1200\&ar=2206%3A832)

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

![](https://images.tango.us/workflows/1ef9317c-cce0-413f-aa90-b0fa9493bd25/steps/b781ec72-3ac8-46da-b8d3-c021e19f8b64/cf6ac42e-ec8d-49aa-975e-3dc249d17b4f.png?crop=focalpoint\&fit=crop\&fp-x=0.5000\&fp-y=0.5000\&fp-z=1.0000\&w=1200\&ar=2206%3A832)

7\. Next to 'Attach to Post Type' choose the post type(s) that you want your new taxonomy to be listed below, e.g. 'Recipes'

![](https://images.tango.us/workflows/1ef9317c-cce0-413f-aa90-b0fa9493bd25/steps/30d508d5-d3ce-48fb-9bc9-1f5400178595/af00fff2-447f-455f-b8d6-823d3bb63d03.png?crop=focalpoint\&fit=crop\&fp-x=0.5000\&fp-y=0.5000\&fp-z=1.0000\&w=1200\&ar=2272%3A610)

8\. Scroll down to 'Settings' and click on the 'Hierarchical' dropdown.&#x20;

![](https://images.tango.us/workflows/1ef9317c-cce0-413f-aa90-b0fa9493bd25/steps/70240859-4b7c-4fbc-85d7-78d47fe8aa79/98e8add9-f48d-4fb6-9529-dd1c90de7fe3.png?crop=focalpoint\&fit=crop\&fp-x=0.5000\&fp-y=0.5000\&fp-z=1.0000\&w=1200\&ar=2267%3A993)

9\. Choose 'True' in the dropdown and click on it.

![](https://images.tango.us/workflows/1ef9317c-cce0-413f-aa90-b0fa9493bd25/steps/e04798f4-de3d-470e-89b9-64af61a41ca2/cb450b41-4395-4d32-b543-e3bfb9a8785a.png?crop=focalpoint\&fit=crop\&fp-x=0.5000\&fp-y=0.5000\&fp-z=1.0000\&w=1200\&ar=2268%3A986)

10\. Click 'Add Taxonomy'.

![](https://images.tango.us/workflows/1ef9317c-cce0-413f-aa90-b0fa9493bd25/steps/d6148c43-930e-452d-a9e8-a74a6fa5b0b6/c5360520-394c-4761-a788-ed5debc3004b.png?crop=focalpoint\&fit=crop\&fp-x=0.5000\&fp-y=0.5000\&fp-z=1.0000\&w=1200\&ar=2306%3A660)

:::hint{type="success"}
You have now successfully created a new taxonomy, assigned it to a post type and created a parent-child relation for it. You will be able to access your new post type from the left-hand side menu bar, below the assigned custom type, e.g. 'Cuisines' below 'Recipes' and you can create taxonomy terms for it.
:::

