Easily create a number of custom post types and taxonomies in your WordPress site. Read complete tutorial on creating Post Types and Taxonomies direct from WordPress Admin Area Dashboard.
What Are Custom Post Types ?
Custom post types doesn’t mean normal blog posts, you may call it a content type. For Example: Suppose if you want to allow your site authors to post quotes but you don’t want to appear it on the front i.e. blog posts page instead you want them to appear on a different page named as quotes or something then you should create a custom post type for quotes so that you can post quotes from the dashboard like you post individual blog posts but from a separate section like Dashboard -> Quotes – Add New Quote / Manage etc.
In the same way Taxonomies are the way to label post types. For example tags and categories are taxonomies. You can create custom taxonomies too.
Some examples of custom post types include Movie Database, Plugin Reviews, Questions and Answers.
Default Post Types that WordPress include are posts, pages, attachments etc. and Default WordPress Taxonomies are tags and categories.
Creating Custom Post Types And Taxonomies
CMS Press is a free WordPress plugin that allows easy creation of custom post types and taxonomies. So first of all install and activate it then follow the given instructions.
Step-1 As soon you activate it, it adds a new menu (CMS Press) in your Dashboard’s sidebar, it menu include following links:
- Edit Content Types
- Add Content Types
- Edit Taxonomies
- Add Taxonomies
Step-2 Click Add Content Type, Now add custom post type you like to create, here we will be creating Reviews. See the following screenshot.
Step-3 Scroll down to Permalinks Structure and add Content Type Identifier. Here we are creating custom post types for reviews so I’ll be adding reviews which will identify content type.For example mysite.com/reviews/
Step-4 Scroll down to Supported Features and tick the features you like to enable. For Example: If you don’t want comments to enable then simple uncheck it.
Step-5 Click Submit button, your custom post type menu will appear on dashboard’s sidebar. Use it in the same way you add, edit and manage normal WordPress posts.
Step-6 (Optional) If you like creating additional taxonomies associated with your post types then visit Dashboard -> CMS Press -> Add Taxonomy. For example: Here we have created Reviews as custom post type so taxonomies can be Plugin Reviews, Movie Reviews, Book Reviews etc. From the Related Object Types section in Add Taxonomy page you can select the custom post type where you want new taxonomy to appear.
Step-7 That’s all. Your new taxonomy is added in custom post type (here; reviews) just like you have categories and tags as taxonomies in normal WordPress blog posts. You can add as many taxonomies you want.
Taxonomies widget lies on the left of Add New/ Edit Custom Post type, see the given screenshot. Taxonomies are simply tags and categories.