This snippet will add featured images to a custom post type or page in WordPress.
Just add the code below to your themes functions.php file replacing “your_custom_post_type” with yours.
add_theme_support('post-thumbnails', array(
'post',
'page',
'your_custom_post_type'
));
Leave a Reply