Support » Themes and Templates » home.php not working

  • I’m soo frustrated right now. I have done several Word Press sites and never had this issue before.

    I cannot get my home page to utilize my home.php page. It is utilizing the index.php file.

    I have it set up in Setting to utilize a static page titled Home.

    I have a template page called home.php.

    I have spent three days on this and am pulling my hair out.

Viewing 2 replies - 1 through 2 (of 2 total)
  • no need to set up the static page.
    undo that
    the template hierarchy directs urls for the root to home.php if it exists.

    esmi

    (@esmi)

    Forum Moderator

    Rename home.php to front-page.php.

    the template hierarchy directs urls for the root to home.php if it exists.

    That’s relying on server-side settings – not WP. front-page.php is the correct template name for the front page template in WP 3x. Using home.php as a template name often creates problems

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘home.php not working’ is closed to new replies.