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 trialMohammed Asif Anwar
5,380 PointsThe ____________ .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
28,149 PointsDoes 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.
http://codex.wordpress.org/images/9/96/wp-template-hierarchy.jpg
Alex greenberg
26,182 PointsThe answer is "front-page.php"
Steven Parker
231,275 PointsNo, 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.
Kat Stacy
41,658 PointsThis is the correct answer.
Sahil Setia
12,323 Pointsit's page.php
August Oliver
5,934 PointsThe correct answer is: page (page.php)
Sachin Gupta
6,748 PointsCorrect answer is "page.php" :)
sharaz shahid
4,671 Pointsfront-page.php
Steven Parker
231,275 Points That's still not the correct answer.
Try it for yourself in the quiz and you'll see.
Clint Clark
5,224 Pointssingular page
Clint Clark
5,224 Pointsindex.php
Clint Clark
5,224 Pointsinitially it should be the page.php
but I see it has been marked wrong here.
Antonette van der Wal
10,881 PointsWell done! That's the correct answer.
The front-page.php template controls a static homepage.
Chipo Kamuti
6,719 PointsFront-page is the correct answer