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

Mohammed Asif Anwar
Mohammed Asif Anwar
5,380 Points

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

Kevin Korte
Kevin Korte
28,109 Points

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

Alex greenberg
Alex greenberg
22,766 Points

The answer is "front-page.php"

Steven Parker
Steven Parker
216,057 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

August Oliver
August Oliver
5,933 Points

The correct answer is: page (page.php)

Correct answer is "page.php" :)

Steven Parker
Steven Parker
216,057 Points

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

Clint Clark
Clint Clark
5,224 Points

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
216,057 Points

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