Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

David Endersby
24,915 PointsFrom Bootstrap to Wordpress Quiz
So theres a few questions I can't seem to get right in the final quiz.
Firstly theres: Write out the function and parameter needed to enable featured images in a WordPress theme? I thought it was add_theme_support( 'post-thumbnails' ); But apparently not
Then theres: If we are inside of a Loop and want to get the current count, we would write $the_query-> which surely is $current_post + 1;
6 Answers

Dominic Francis
5,048 PointsI think its just current_post

Jason Early
52,944 PointsFor the add_theme_support( 'post-thumbnails' ) drop the last ";".

David Endersby
24,915 PointsIts the plight of the Semi colon again. Thank you.

marieyvonnecombot
27,193 PointsThanks for your answer : add_theme_support( 'post-thumbnails' ) because if you enter : add_theme_support ( 'post-thumbnails' ) let's say one more space it does'nt work :-))

Jason Early
52,944 PointsNo problem, I haven't figured out the current_post + 1; tho. At first I thought you didn't need the "$" on current_post.

David Endersby
24,915 PointsYeah, I've tried multiple combinations but can't get it to work

marieyvonnecombot
27,193 PointsI agree with this comment : I can't get it to work too.

Srinivasa Prasad
13,390 PointsI was stuck with both of the questions, thanks guys for the awesome help!!!
James Gill
Courses Plus Student 34,935 PointsJames Gill
Courses Plus Student 34,935 PointsThis is the correct answer. just "current_post".
Jason Early
52,944 PointsJason Early
52,944 PointsAwesome. Thanks guys!