Create Custom Post Types in WordPress

Custom post types are content types like posts and pages. Since WordPress evolved from a simple blogging platform into a robust CMS, the term post stuck to it. However, a post type can be any kind of content. By default, WordPress comes with these post types:

  • Post
  • Page
  • Attachment
  • Revision
  • Nav Menu

You can create your own custom post types and call them whatever you want. For example, if you need portfolio website, you can create portfolio post type.

Here is an example with all the possible options. You can edit this snippet according to your needs.

How useful was this post?

Click on a star to rate it!

Average rating 5 / 5. Vote count: 1

Leave a Reply

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