[wp-hackers] is_front_page should have it's own template file
Aaron D. Campbell
aaron at xavisys.com
Tue Apr 22 19:24:26 GMT 2008
Good point. In order to keep backwards compatibility, if the user uses
posts as the front page, it should really go:
front.php -> home.php -> index.php
If the user uses a static page:
customTemplate -> front.php -> page.php -> index.php
I attached a new diff to the ticket:
Would that make more sense?
> Yeah, I see that, I'm just trying to grasp where you want it fitted
> into the hierarchy.
> Look at those cases again. Are you thinking of this sort of change?
> Case 2: Static front page.
> - Template is custom Page Template fallback to front.php fallback to
> page.php fallback to index.php.
> The reason I ask is that I'm not certain how to handle front.php in
> the default case, where the main blog posts are the front page. Would
> it only be used for the static front page case?
> My viewpoint is that a template name like that should have a well
> defined place in a theme, since a theme can include them. So
> what/where would it make sense for a theme to include as the front
More information about the wp-hackers