The Complete guide to create custom post in wordpress

In this article, I am going to explain “How to create custom post in WordPress” In WordPress we can create custom post type different ways  . There are two ways Ideally you should create a plugin when working with custom post types, but if you don’t know how to create plugin, or just need a quick test, you can use the functions.php file in your theme.



Labels is an array which defines the different labels that a custom post can have like name,singular_name,add_new,add_new_item etc.


Description is a short description of post type which defines the about post type.


Menu position defines the position of menu in Admin panel. If setting it 5 it displayed after default post.


If set to true has_archieve, rewrite rules will be created for that post type, enabling a post type archive at (by default)


5 thoughts on “The Complete guide to create custom post in wordpress”

  1. Great V I should certainly pronounce, impressed with your site. I had no trouble navigating through all the tabs as well as related information ended up being truly easy to do to access. I recently found what I hoped for before you know it in the least. Reasonably unusual. Is likely to appreciate it for those who add forums or anything, website theme . a tones way for your customer to communicate. Excellent task..

  2. Howdy, i read your blog from time to time and i own a similar one and i was just wondering if you get a lot of spam feedback? If so how do you protect against it, any plugin or anything you can recommend? I get so much lately it’s driving me crazy so any help is very much appreciated.

  3. Enjoyed reading through this, very good stuff, thankyou. “To be positive To be mistaken at the top of one’s voice.” by Ambrose Bierce.


Leave a Comment