[wp-testers] Confusion understanding home.php and front-page.php

Andrew Nacin wp at andrewnacin.com
Sun Jun 6 18:06:30 UTC 2010


On Sun, Jun 6, 2010 at 1:58 PM, lucaskeiser at keisermedia.com <
lucaskeiser at keisermedia.com> wrote:

> Could someone please clarify the differences between home.php and
> front-page.php. From my understanding they should be the exact same thing
> resulting in page redundancy. What am I missing?


The "home" page and "front page" are often the same. Check out the
is_front_page() and is_home() conditional tags, which explain when they are
different. http://codex.wordpress.org/Conditional_Tags


More information about the wp-testers mailing list