I’m trying to display Custom Post Type…
I’m doing something wrong?
register_post_type('name-of-custom-post',
array(
'public' => true,
'hierarchical' => true,
'has_archive' => true,
'rewrite' => array( 'with_front' => false ),
'supports' => array(
'title',
'editor',
'excerpt',
'thumbnail'
),
'can_export' => true,
'taxonomies' => array(
'post_tag',
'category'
)
));