Support » Fixing WordPress » Static front page doesn’t use home.php

  • home.php doesn’t appear to be invoked when using “Front page displays: A static page” feature — home.php is ignored, and the page is displayed using index.php. If I change the front page setting to “Your latest posts”, home.php is invoked, but that’s not the content I need on the home page.

    Is there another good way to use a separate template for a static fron page?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Answering myself:

    First of all, there seems to be some controversy over whether a static front page should actually call itself the home page:

    Leaving that aside, the best way to use a unique template for the home page appears to be to create a separate template for that page (ignoring the fact that it’s the home page) as per:


    I made a new page template which I use for most of the pages. One of them called ‘Wellcome’ – if I choose this one as Front-/Homepage, it works fine.

    Maybe it’s better to call the homepage not home.php, since this name is a part of the internal pagehierarchy iirc and eventually confuses the theme…

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Static front page doesn’t use home.php’ is closed to new replies.