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

Viper007Bond viper at viper007bond.com
Tue Apr 22 08:59:31 GMT 2008


is_home() is where your posts are (usually /index.php, but can be set to a
Page). is_front_page() is /index.php, regardless of what's there.

On Tue, Apr 22, 2008 at 1:13 AM, Ozh <ozh at planetozh.com> wrote:

> >Now that we have is_front_page() in addition to is_home(), I think we
> >should have a template file for it. I'm suggesting that we use
> >front-page.php falling back on home.php then index.php. I opened a
> >ticket (http://trac.wordpress.org/ticket/6801) and attached a patch.
> Meh, I didn't even know about this template tag (when was it introduced?)
> So, now, we have index, home and front page?
> Can anyone give me a few word explanation of how a "front page" and a
> "home page" can differ ? :)
> Ozh
> --
> http://planetozh.com/
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers

Viper007Bond | http://www.viper007bond.com/ | http://www.finalgear.com/

More information about the wp-hackers mailing list