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

Help me, for some questions.

This template is used as the default fallback template for all of the other theme templates: ___ .php

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

If we are inside of a Loop and want to get the current count, we would write $the_query-> ___

1 Answer

Hi Arda,

This template is used as the default fallback template for all of the other theme templates: ___ .php The answer is index

Write out the function and parameter needed to enable featured images in a WordPress theme: ___ The answer is add_theme_support( 'post-thumbnails' )

If we are inside of a Loop and want to get the current count, we would write $thequery-> __ The answer is current_post

Hope that helps

-Rich

Thank you again.

No problem :)