Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress

Andreas Anastasiades
Andreas Anastasiades
2,916 Points

Custom Post Types UI Featured image gone

Hi,

I'm using the Custom Post Types UI and Advanced Custom Fields plugins to create some extra post types.

Weird thing is since the latest update of Wordpress, the featured images on these post types have vanished and I can't get them to appear again.

Existing custom posts still have the featured image, but when checking the backend, the featured image box is missing. Creating new items doesn't show the box either.

Anyone experienced something similar?

Tried;

add_theme_support( 'post-thumbnails' ); & add_theme_support( 'post-thumbnails', array( 'post', 'page', 'my-type' ) );

without success unfortunately...

2 Answers

Andreas Anastasiades
Andreas Anastasiades
2,916 Points

I did, nothing there

But after about 8 hours or trial and error I added:

add_post_type_support( 'my-type', 'thumbnail' ); post_type_supports( 'my-type', 'thumbnail' );

and I got them to show again. Just don't know if it's a clean way to show them.

Thanks for the tip anyways!

Sue Dough
Sue Dough
35,800 Points

Have you checked your screen options?