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

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,148 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
26,182 Points

The answer is "front-page.php"

Steven Parker
Steven Parker
229,005 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
229,005 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
229,005 Points

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