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

Konrad Pilch
Konrad Pilch
2,435 Points

How is this wrong? - Quiz

Please fill in the correct answer in each blank provided below.
Bummer! Unfortunately, that answer is incorrect. Skip Quiz Review Video Get Help Finish Quiz
The function call get_sidebar(‘blog’) would call a file named
sidebar-blog
.

Konrad Pilch
Konrad Pilch
2,435 Points

I put .php at the end, but really? ;d

Also, when i did it the second time, some of the answers i written before were suggested to me. Shoudn't that be disabled?

I'm not sure why I got a notification to answer this question as it's a 1yr old but here goes.

So without knowing exactly what quiz it was to make sure my answer is correct. The only thing I can see wrong with your answer is that you are missing the ; at the end of function. i.e. get_sidebar(‘blog’);

You are correct in assuming get_sidebar(‘blog’); would call a template file called sidebar-blog.php