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 From Bootstrap to WordPress Create Bootstrap Styled Theme Templates Maintaining Your Theme as a Parent Theme

Don Shipley
Don Shipley
19,488 Points

Test question Write out the function and parameter needed to enable featured images in a WordPress theme:

Question:

Write out the function and parameter needed to enable featured images in a WordPress theme:

Answer:

add_theme_support ( 'post-thumbnails');

Incorrect

8 Answers

Sue Dough
Sue Dough
35,800 Points

This is what I consider a bug. This is the exact code you would use in production yet it doesn't work. The answer should be fine however its not allowing it to pass with the semi-colon at the end. You need to use this to pass.

add_theme_support( 'post-thumbnails' )

Yo treehouse staff - This bug was addressed a year ago and is still not fixed. Please fix.

RJ Mey
RJ Mey
3,034 Points

I'm having the same problem with this question. It's driving me crazy!

Seems like its fixed.