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 From Bootstrap to WordPress Create Bootstrap Styled Theme Templates Creating a Portfolio Landing Page

I added add_theme_support( 'post-thumbnails' ); but I stll can't get the set featured image to show up. any sugge

Set featured image option not showing up after adding

add_theme_support( 'post-thumbnails' );

Did you add the thumbnail into your page template?

       if ( has_post_thumbnail() ) { // check if the post has a Post Thumbnail assigned to it.
          the_post_thumbnail();
        }

EDIT: I'm sorry, I think I mis-understood the problem. Just to clarify, you are not seeing the option to attach a Featured Image to a page or post?

Lindsay Dassau
Lindsay Dassau
1,664 Points

I too am having the same issue.

Yes, the issue was that there is a new version of the custom post plugin and in the plugin you have to specify the settings for displaying the post-tumbnails.

Thanks for your reply,

Kyle

Tim Knight
Tim Knight
28,888 Points

Kyle, I'm curious what did you have to change in the plugin to get this working for you?

4 Answers

Jaclyn Falk
Jaclyn Falk
7,468 Points

Tim (and anyone else with this problem). From the CPT UI menu, click Add/Edit Post Types. Select the Post Type you wish to edit ('Portfolio'). There is a section called 'Settings'. Scroll down, and you'll see the 'Supports' section, which has an option for 'Featured Image'.

Tim Knight
Tim Knight
28,888 Points

Excellent Jaclyn, thank you.

Worked great, thank you this was driving me crazy!

Alexander Thaara
Alexander Thaara
Courses Plus Student 89 Points

Thanks Jaclyn, saved me from needless Googling on this, don't think I would have noticed it.

Thank you Jaclyn! :-)