• Hi,

    I created a custom post type to use in my custom carousel. A method found on many websites online. But somehow I can not add featured images to the post type.
    What i did

    • I added add_theme_support('post-thumbnails');
    • I added 'supports' => array('thumbnail')

    The post type works fine, I can add a post, but when I try to add a featured image the gallery is empty. And when I try to upload a photo, the photo is added to the sites mediagalery, but is not linked to my post.

    When I try to add an featured image to a page or a normal post, it all works fine

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘featured images on custom post type’ is closed to new replies.