"Protocols in Swift" was retired on May 31, 2020.

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

The ____________ .php template is the default file dealing with static pages in WordPress.

The ____________ .php template is the default file dealing with static pages in WordPress.

cant find the answer.......

10 Answers

Does the WP template hierarchy diagram help? This is WordPress's decision tree as to what file to get. Your answer here is going to be on of the dark blue files, since you want to know the default file type.

wordpress template heirarch

http://codex.wordpress.org/images/9/96/wp-template-hierarchy.jpg

The answer is "front-page.php"

Steven Parker
Steven Parker
242,177 Points

:x: No, that's not the correct answer.

But after 2 years, I'm guessing Mohammed probably got it by now, perhaps from the chart previously provided by Kevin.

This is the correct answer.

it's page.php

The correct answer is: page (page.php)

Correct answer is "page.php" :)

front-page.php

Steven Parker
Steven Parker
242,177 Points

:x: That's still not the correct answer. :smirk:
Try it for yourself in the quiz and you'll see.

singular page

index.php

initially it should be the page.php

but I see it has been marked wrong here.

Well done! That's the correct answer.
The front-page.php template controls a static homepage.

Front-page is the correct answer

Steven Parker
Steven Parker
242,177 Points

:x: Bummer! Unfortunately, that answer is incorrect.