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 trialCraig Jamieson
19,585 PointsAnswer for quiz not correct despite copying code exactly from video
In the quiz it asks us to - Fill in the blank below.
Write out the function and parameter needed to enable featured images in a WordPress theme:
And after watching the Creating a Portfolio Landing Page video again, I copied this code which is added to the functions.php file
add_theme_support( 'post-thumbnails' );
But that does not seem to be the correct answer, please advise?
1 Answer
Zac Gordon
Treehouse Guest TeacherTry removing the ";"
Sue Dough
35,800 PointsSue Dough
35,800 PointsHave you considered fixing this issue? People are asking on the forums about it. I would consider this a bug because the mentioned code is the right code. It seems leaving out the semi colon here as the answer would just lead to bad practice for new WordPress developers.