Wordpress - How come Featured Image isn't showing up in my Custom Post Type?
try the register_post_type
supports
parameter:
'supports' => array( 'thumbnail' )
Add this parameter into your array:
'supports' => array('thumbnail'),
Edit: Milo was faster.
Try this it works for me.....
add_theme_support('post-thumbnails');
add_post_type_support( 'my_product', 'thumbnail' );
function create_post_type() {
register_post_type( 'my_product',
array(
'labels' => array(
'name' => __( 'Products' ),
'singular_name' => __( 'Product' )
),
'public' => true,
'has_archive' => true
)
);
}
add_action( 'init', 'create_post_type' );