Create New Post Types and Taxonomies in Custom Post Type UI
The second part of the guide to the Custom Post Type UI WordPress Plugin will take you through how to create new post types and taxonomies…
Step 1) On the Dashboard, scroll down the sidebar right along to the bottom, and click ‘CPT UI’. On the dropdown, click on ‘Add New’. This will take you to the page where you can create a new post type or taxonomy.
Step 2) On the left-hand side of the page, you can create a new post type. From here, you can enter the Post Type Name, create labels (which are used in the admin menu for displaying post types) and create a singular labels where needed. You can also write a description for what the custom post type is used for.
Step 3) On the right hand side of the page, you can create a Taxonomy for the posts and pages of your website. Create a short and snappy taxonomy name, and then add your label and/or singular label as you see fit. You can tick boxes as to whether or not you would like to attach the taxonomies to posts or pages, or both.
Step 4) Both Custom Post Types and Taxonomies have advanced options. Taking a look at the Custom Post Types advanced label options first, they include labels for the Menu Name, Add New, Add New Item, Not Found and more. You don’t have to create any of these yourself, as the plugin will automatically create ones in relation to the custom post type you have created. But if you want to add them yourself, they are here for you to do so.
Step 5) Next to the Advanced Label Options, you will find Advanced Options. Here, you have a choice between ‘True’ or ‘False’ for the options available, which include: Whether or not the custom post type should be in the admin UI, generating a default UI for the post type, creating an archive for post types and editing options including the position of the menu on the page. You can also add an image URL to create an icon for your new menu.
There are two boxes to tick or leave unticked that will determine where the built-in taxonomies will be found. They are ‘Categories’ and ‘Tags’ and can be found at the bottom of the advanced options.
Step 6) Taxonomies also have Advanced Label Options. Here, you can create a number of labels, including search, popular items, parent items, add and remove, and more. This is especially useful if you are creating posts that have room for wider searches, like the examples shown below (e.g. Search Actors, Popular Actors, etc.)
Step 7) The Advanced Options begin with whether or not to create a Hierarchical structure with the taxonomies. If you choose ‘True’, this will allow you to create parent taxonomies (e.g. Actors as the parent, Male Actors as the child). You can also create a generic UI for the taxonomies, allow for rewrites, create a slug for the taxonomies and show admin columns on associated post-types.