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

Ozh ozh at planetozh.com
Tue Apr 22 09:10:33 GMT 2008


>http://trac.wordpress.org/ticket/3682
>
>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.

Ho, OK, it's what I thought in first instance

>>>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

This is what got me confused. I don't get the point of having index.php 
and front-page.php...

Ozh
-- 
http://planetozh.com/




More information about the wp-hackers mailing list