How to manage number of posts showing on Blog page in WordPressApril 26, 2019
Search Engine Optimization Tips and TricksJuly 9, 2019
In earlier years of WordPress, its known for blogging websites. By default WordPress comes with pages and post as the main content types for manage content of website. But now there are some plugins can be use for create custom post types. In this article, we will show you how to create custom post types in WordPress.
Custom post types are content types like pages and posts. By default, WordPress comes with these post types post, page, attachment, revision and menu.
We can create our own custom post types and call them whatever we want. For example if we need a website for Movies reviews, then we can create a custom post type with name Movie Reviews.
The simple way to create a custom post type in WordPress is by using a plugin. This method is recommended for beginners because it is safe and very easy.
First thing we need to install and activate the Custom Post Type UI plugin. After activation, the plugin will add a new menu item in WordPress admin menu called CPT UI.
Add New Custom Post Type
Now go to CPT UI » Add New to create a new custom post type.
In the custom post type column, first we need to provide a name for custom post type. This name cannot exceed more than 20 characters e.g. movies, recipe, deal, glossary, etc.
After that we need to provide a singular label. This singular name will be used by WordPress to show instructions and other user interface elements.
Then add description for custom post type. This description is simply used to describe what post type does.
Add New Custom Taxonomy
Custom Post Type plugin also provides option for add custom taxonomy. For this go to CPT UI » Add Taxonomies to create a new custom post type.
Then add Taxonomy slug, Plural label, Singular label and attach this taxonomy to custom post type.
Then we can assign this taxonomy for our custom post type.
After creating a custom post type, we can see custom post type name in admin menu bar. From where we can add new post for that custom post type.
I hope this article helped you to learn how to create custom post types in WordPress.
If you liked this article, then please subscribe to my newsletter for get email notification of new article.