[theme-reviewers] Please assign me a theme to review

Otto otto at ottodestruct.com
Tue Mar 29 14:58:36 UTC 2011


On Tue, Mar 29, 2011 at 9:50 AM, Daniel Tara <contact at onedesigns.com> wrote:
> Otto, in this case I think they do need documentation. The theme is trying
> to alter the standard post listing. See my comments on the ticket:

Yes... but that's sorta the whole point of using home.php. Using
front-page.php as you suggest wouldn't do the same thing at all.

The home.php is a replacement for index.php, for the case of the home
page only (whereas index.php is a fallback for several other templates
as well). It displays the "main" set of blog posts, regardless if it's the front
page or not. For reference, a "non-main" set of blog posts would be
archives of any sort, such as date or category archives.

The front-page.php is used for the front page, regardless of what that
front page is (static or not). A front-page.php will even override a
custom page template assigned to a static front Page setting.

In other words, "home" is always where the main set of blog posts are
displayed, and so if you want to alter that, the home.php is the
correct one to use. If you want to alter the front-page, then
front-page.php is the correct one to use. These are not the same at
all.

-Otto


More information about the theme-reviewers mailing list