CPT UI (Custom Post Type UI) is a plugin that you can use to create a custom post type in WordPress. You can actually create a custom post type in WordPress without a plugin, but you need to have PHP knowledge to do so. If you don’t have one, then CPT UI is the solution you need. CPT UI is a free plugin. You can get it on the official plugin directory of WordPress.
CPT UI is arguably the best WordPress plugin to create custom post type. It comes with comprehensive features. From the ability set the post slug, set the singular and plural menu labels, and so on. In this article, we will show you how to use CPT UI to create a custom post type.
How to a create custom post type in WordPress using CPT UI
Before getting started, make sure you have installed and activated the CPT UI plugin your website. Once you are ready, go to CPT UI -> Add/Edit Post Types on your WordPress dashboard. You can create a custom post type on the Add New Post Type tab.
There are three settings block you can open here: Basic settings, Additional labels, and Settings. You can click each block to expand it so that you can view the available settings.
- Basic settings
You can open this block to add the basic elements like the post slug, plural label, and singular label. Plural label is the label shown at the top side when you visit the custom post type library, while the singular label is the label you see when you want to add a new item from the top bar menu.
- Additional labels
There are many labels you can set for your custom post type to make it easy for you and your users to manage the content of the custom post type. From the menu label (the label on the sidebar within the WordPress dashboard), the label of the add new button, the label for custom post type archives, and so on. You can set the labels accordingly.
- Settings
You can open this block to set some advanced settings like Dashicon, editor components (title, featured image, excerpt, and so on). From this block, you can also set the taxonomies you can add to the custom post type.
If you want to set a custom Dashicon, you can paste the Dashicon class to the field on the Menu Icon option.
To get the Dashicon class, you can go to this page. Select the Dashicon you want to use and copy the class.
Once done making the necessary settings, you can click the Add Post Type button on the bottom side.
Editing an Existing Custom Post Type
If you have created a custom post type and there are some settings missed, no worries. You can edit the custom post type you have created. To do so, go to CPT UI -> Add/Edit Post Types. Open the Edit Post Types tab and select the custom post type you want to edit.
Make the settings you want to change or add. Once done, click the Save Post Type button on the bottom. If you want to delete the custom post type, you can simply click the Delete Post Type button.
Summary
Custom Post Type UI is a great plugin to create a custom post type in WordPress. It is the most popular custom post type plugin with over 900,000 active installations. Most WordPress users pair the use of CPT UI with ACF. They use CPT UI to create the custom type, while to add custom fields to the custom post type they use ACF. You might be wondering, how to display the content of the custom post type?
The developer of CPT offers a separate plugin that you use display the custom post type you created with CPT UI. The plugin is Custom Post Type UI Extended (available as a paid plugin). Alternatively, you can use page builders like Divi Builder, Brizy, and Elementor to display the content of the custom post type by creating a custom template and assign it (the custom template) to custom post type you want to display the content of.