Static front page doesn't use home.php (3 posts)

  1. nds
    Posted 9 years ago #

    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?

  2. nds
    Posted 9 years ago #

    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:


  3. groovyKimo
    Posted 9 years ago #


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

Topic Closed

This topic has been closed to new replies.

About this Topic