wp register post type supports code example

Example: wp register post type supports

Default: title and editor
‘title’
‘editor’ (content)
‘author’
‘thumbnail’ (featured image, current theme must also support post-thumbnails)
‘excerpt’
‘trackbacks’
‘custom-fields’
‘comments’ (also will see comment count balloon on edit screen)
‘revisions’ (will store revisions)
‘page-attributes’ (menu order, hierarchical must be true to show Parent option)
‘post-formats’ add post formats, see Post Formats

Tags:

Misc Example