Most of the time, users classify WordPress as a blogging tool. Over the years, WordPress has evolved to one of the best Content Management System that can be used to almost all types of websites

What is Custom Post Type in WordPress?
Custom Post Types are content types like post, pages or attachment.  A post type can also be any kind of content. By default, WordPress  have these post types:

  • Pages
  • Post
  • Revision
  • Nav Menu
  • Attachment

Custom post type can be created and personalized the label. For instance, if you have a Recipe website then you would probably want to create a Recipe post type. This post can have different custom fields and even its own custom category structure. Other examples of post types are Testimonials, Portfolio, Products, and many more. custom fields and even its own custom category structure. Other examples of post types are Testimonials, Portfolio, Products, and many more.

When do you need a custom post type?
When you have a different post types and you want to separate it from articles or post, that is the type you can create a custom post type.

How to create a custom post type
Creating a custom post type can be done in two ways
1 The easiest way is to use a plugin called Custom Post Type UI
2 Manually adding the code in functions.php

Create custom post type using a plugin
Step 1 Login to WordPress control panel
Step 2 Go to Plugins > Add New
Step 3 In the Search Plugins box, type Custom Post Type UI

custom-post-type

Step 4 Hit Enter
Step 5 Click Install Now

install-custom-type-ui

Step 6 Click Activate Plugin, you have just activated the plugin ready for use. You should see a CPT UI settings in the side bar.

activate-custom-type-ui

Step 7  In the sidebar, click CPT UI > Add New
Step 8 Enter the desired name, labels, descriptions, etc on the fields and Click Create Custom Post Type or Create Custom Taxonomy

create-custom-type-taxonomy

Step 9 Your new custom post type will appear now appear in the side bar together with posts, media, pages, comments, etc. You can now add a content as if you are adding content to a post or a page. Enjoy!

Here is a video tutorial on how to use Custom Post Type in WordPress using a plugin


About 

    Find more about me on:
  • facebook
  • googleplus
  • linkedin
  • pinterest
  • twitter
  • youtube

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title="" rel=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>