WordPress has evolved over the last few years into a fantastic content management system. As a matter of fact, it’s possible to create as many WordPress custom post types as desired. And furthermore, these types of custom content are called custom post types.
A WordPress Custom Post Types comes in different ways, and the default types include a post, page, revision, attachment, and nav menu. These custom post types can be called whatever you desire. Also, the different custom post types can have its custom category structure and different custom fields. Other examples of post types include products, testimonials, and portfolio.
Creating a WordPress Custom Post Types is easier than one may think. The first thing to do is to use a plugin. This is done by installing and activating the Custom Post Type UI plugin. When activating the plugin, a new menu item will be added in the admin menu that’s referred as CPT UI.
The next step to take is to go to CPT UI, and then add new to create a new custom post type. The following are other tips along with the instructions involving
Different Ways of Creating a WordPress Custom Post Types
Add a new page for custom post-UI plugin
There are two columns in the add new custom post type page. The left side is where you have to fill up to create a custom post type. The right side is where you must create a custom taxonomy if needed. You must provide a name for the custom post type column.
A label must be provided in the next field for your custom post type. This label will be in the WordPress admin bar, and it must be plural to make sense. Afterward, a label’s singular form is needed and utilized by WordPress to show different interface elements, such as instructions. And lastly, a description must be entered in the custom post type. Click the link for making the post type to add the new custom post type. The advanced options and the advanced label options links can also be clicked for more option customization of the custom post type.
Manually making a custom post type
Sometimes custom post types may disappear upon the deactivation of a plugin. The data will still be available, but the custom post type will not be accessible, and it will be unregistered. When this happens, you can create your custom post type manually instead of installing another plugin, if you prefer. This is done by adding a required code in a particular, site plugin, or in your themes’ functions.php file.
Showing the custom post types on your site
Built-in support is provided by WordPress in which should be used on your site once a few items have been added onto the new custom post type.