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:
- 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.