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

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