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.

PHP How to Build a WordPress Theme WordPress Theme Functions Displaying Custom Posts and Fields in a Template

Correlation

What does Setting -> Reading Front Page and Post Page drop-downs have to do with the template hierarchy? Does changing these setting negate any of the Template Hierarchy workings. If so in which way? Thanks

1 Answer

Julian Price
Julian Price
11,760 Points

I believe if Front-Page.php does not exist nor does Home.php exist it defaults to Index.php. Changing the reading setting allow you identify which page represents your Home Page in example Full Width Template it also acknowledges that page as the entry page so that the published home page has: mydomainname.com instead of mydomainname.com/home

Front Page was introduced to allow a Static Page instead of the most recent blog post or most often now a combination of both.

I hope that helped. Maybe others have a better answer because I am still learning as well.