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 trialCaden Adam
16,257 PointsPage-portfolio missing image: SOLUTION
Hey lovely people!
Step 1: Go to CPT UI -> Edit Post Types, scroll to bottom of the page where there's a Support section. Check Title, and Featured Image.
Step 2: Go back to page-portfolio.php and in your Loop at the bottom where there's the image Markup add an <IMG /> tag just before the_post_thumbnail();
<a href="<?php the_permalink(); ?>"><img /><?php the_post_thumbnail( 'large' ); ?></a>
and it should appear!
Caden Adam
16,257 PointsCaden Adam
16,257 PointsExample:
<a href="<?php the_permalink(); ?>"><img /><?php the_post_thumbnail( 'large' ); ?></a>