Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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,862 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,862 Points

Excellent Jaclyn, thank you.

Worked great, thank you this was driving me crazy!

Alexander Thaara
Alexander Thaara
Pro Student 89 Points

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

Thank you Jaclyn! :-)