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 WordPress Theme Development Custom Post Type Templates in WordPress The Portfolio Homepage

Kyle Shamblin
Kyle Shamblin
9,945 Points

Do I need to select the featured image manually?

Do I need to select the featured image manually? I'm confused, I followed everything to a T as far as I know. In the video it doesn't show him actually selecting a featured image, he only adds the images and edits the page-portfolio.php file. I couldn't get the image to display on the Portfolio page without going into the post and manually choosing a featured image.

1 Answer

You do need to add the featured image to the post manually. He doesn't show you this in the current video, but I believe he does in past videos, when he sets up his test portfolio posts. The template he's writing loops through all the portfolio posts, and if there's a featured image it is grabbed to display on that page. Make sure the 'pink-star' post has a featured image added.

Kyle Shamblin
Kyle Shamblin
9,945 Points

Ok. I thought so, I just wanted to make sure. Thanks for the response!