Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No home.php or front-page.php? #49

Closed
graygilmore opened this issue Aug 19, 2012 · 2 comments
Closed

No home.php or front-page.php? #49

graygilmore opened this issue Aug 19, 2012 · 2 comments

Comments

@graygilmore
Copy link

Since index.php is always used as the ultimate fallback template, I try to avoid using specific code on it (eg. stuff that would be exclusive to the home page, maybe a slider). Using front-page.php in a theme might not work as it would require user input in the blog's settings, but what about using home.php?

I'd love to know why you guys decided to go without it!

@norcross
Copy link

front-page.php will load recent posts (and not a page) if that setting hasn't been changed. However, I think the goal is to be as base as possible and allow users to add one (or the other) if need be.

@mfields
Copy link
Contributor

mfields commented Aug 25, 2012

+1 @norcross We've intentionally excluded many branches of template hierarchy for simplicity. In my experience, it's pretty rare that home.php or front-page.php are needed. In cases where these templates are needed, it's probably best for the theme developer to add them in as needed.

@mfields mfields closed this as completed Aug 25, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants