[wp-hackers] is_front_page should have it's own template file
wordpress at dd32.id.au
Tue Apr 22 08:26:26 GMT 2008
"When a static page is being used as the front page of your blog, the
is_home() function returns false. There is no simple function for
determining "front of site, regardless of blog or page""
which is where is_front_page() comes in, Returning true for ( Current page
is front page ) Or ( Current page is displaying index of latest posts)
On Tue, 22 Apr 2008 18:13:51 +1000, 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 ? :)
More information about the wp-hackers