[wp-hackers] is_front_page should have it's own template file

Alexander Beutl xel at netgra.de
Wed Apr 23 16:12:43 GMT 2008


>I'm not sure I specifically see the point in this, but if the theme
developer wanted to, couldn't they just add the necessary code to the top:
hmm well you're right ;-)

>Call it front.php, not front-page.php.
>Too long, and addition of a dash makes it confusing.

I wouldn't call it front.php because front-page.php has "page" in its name
which - sortof - clarifies it is for *page* and not for *index* (while
home.php _is_ confusing - but unfortunatly can not be changed into
front-index.php for compatibility reasons...)

2008/4/23, Aaron D. Campbell <aaron at xavisys.com>:
>
> I'm not sure I specifically see the point in this, but if the theme
> developer wanted to, couldn't they just add the necessary code to the top:
> /*
> Template Name: Static Front Page
> */
>
>
> Alexander Beutl wrote:
>
> > +1 for [front.php should also be selectable in the page template
> > selector.]
> > would be nice
> >
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>


More information about the wp-hackers mailing list