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

Tim Mousseau
Tim Mousseau
1,778 Points

Simple solution to featured image not appearing on main "Portfolio" page.

So this turned out to be a very easy fix, even though it took me forever to find. I was having the same problem as everyone else (not being able to see the featured image on the portfolio page).

If you've triple-checked all your code (or more, like I did) and have found everything to be exactly the same as that in the video, then do the following:

Enter your dashboard, go to "Portfolio" (between "Comments" and "Appearance") on the left-sidebar and open up the "Pink Triangle" post. From the instructional videos, it seems that we used "Add Media" to the "Images" section (beneath the "Description" section), but we didn't actually end up setting a featured image... so, on the right-hand side, there should be a button that says "Set featured image" which you will click on and add the same image.

If you can't find the "Set featured image" anywhere on the page, open up "CPT UI" on the left-sidebar (should be near the bottom) and click the "Edit Post Types" tab. This should open up the custom post type that was set in the previous video(s). Scroll down to the bottom and there will be a section called "Supports" with a column of check-boxes. Check "Featured Image".