I've just added a new Custom Post Type to my WordPress site.
When I go to create a new post though, the only option I have to edit is "Slug". Normally with a regular post you would have Format, Categories, Post Tags, Featured Image, Excerpy, Send Trackbacks, Custom Fields, Discussion, and Author.
How do I get all of these options to show up for me under a Custom Post Type?
This is the code I used to create my custom post type.
function create_post_type() {
register_post_type( 'intrigue_faculty',
array(
'labels' => array(
'name' => __( 'Faculty' ),
'singular_name' => __( 'Faculty' ),
'add_new_item' => __( 'Add New Faculty Member' ),
'new_item' => __( 'Add Faculty' ),
'add_new' => __( 'Add Faculty Member' ),
'view_item' => __( 'View Faculty Profile' ),
'not_found' => __( 'No faculty members found' ),
'search_items' => __( 'Search Faculty Members' ),
'edit_item' => __( 'Edit Faculty Member Profile' ),
'description' => __( 'A collection of the profiles for Intrigue Dance Intensive faculty members.' )
),
'public' => true,
'menu_position' => 5,
'rewrite' => array('slug' => 'faculty')
)
);
}
add_action( 'init', 'create_post_type' );