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.

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 :)