Support » Themes and Templates » Adding front-page.php and home.php file to Custom Theme

  • Afternoon everyone,

    Taking over website and not 100% comfortable with WordPress so wanted to vet my process before I do something wrong.

    Current site has no front-page.php or home.php files only index.php. I’m wanting to add both a front-page.php and home.php.

    Front page will be for home screen ( and home.php will be for where posts are located (

    If I’m looking at template hierarchy correctly, I simply need to copy the index.php file twice. Rename one front-page.php and one home.php and I’ll be done.

    Is that correct?

    Then I could edit home.php file to affect page.

    Am I understanding this correctly?

    Thanks for helping me out!

Viewing 1 replies (of 1 total)
  • Yes, you have got that correct! That’s exactly how the template heirarchy works.

    There’s really nothing more that I can add.

Viewing 1 replies (of 1 total)
  • The topic ‘Adding front-page.php and home.php file to Custom Theme’ is closed to new replies.