How to create custom post type in wordpress

How to create custom post type in wordpress

Hello Friends..!! I am writing this article about How to create custom post type in wordpress. Many times user want to create their own custom post type but they didn’t know how to do it. So here I wrote some codes for it.