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

Otto otto at ottodestruct.com
Wed Apr 23 13:50:41 GMT 2008


Aaron:

Call it front.php, not front-page.php. Too long, and addition of a
dash makes it confusing. All the rest of the page names are simple,
keep it simple too.

On Tue, Apr 22, 2008 at 9:58 PM, Aaron D. Campbell <aaron at xavisys.com> wrote:
> Not exactly:
>
>  if is_home=true
>
>  1. home.php
>  2. index.php
>
>  else if is_front=true
>  1. Defined Template
>  2. front-page.php
>
>  3. page.php
>  4. index.php
>
>  end if
>
>
>  Charles E. Frees-Melvin wrote:
>
> > so in hierarchy
> >
> > if is_front=true
> >
> > is_home=false
> >
> > 1. Defined Template
> > 2. front.php
> > 3. page.php
> > 4. index.php
> >
> > else
> >
> > 1. home.php
> > 2. index.php
> >
> > end if
> > end if
> >
> >
>
>  _______________________________________________
>  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