WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Static home page displays incorrect template (6 posts)

  1. caroig
    Member
    Posted 3 years ago #

    I've created a page template, page-esc.php, for my site which does not display posts. I've created a new page, myhome, and set its template to be my new template - everything works perfectly - when I navigate to the page it displays fine.
    Now I want this page to be my homepage, I've set the front page in Settings > Reading to be myhome and I've not specified a posts page.

    Now when I navigate to the site, the myhome page displays (I see the title) but it's clearly not using my page template.

    What do I need to do to display my static template as the home page?

    Thanks,

  2. caroig
    Member
    Posted 3 years ago #

    I can see that front-page.php is being loaded as my home page.

  3. esmi
    Forum Moderator
    Posted 3 years ago #

    Does your theme have a home.php or front-page.php template file?

  4. esmi
    Forum Moderator
    Posted 3 years ago #

    Rename front-page.php to front-page-old.php

  5. caroig
    Member
    Posted 3 years ago #

    Gret stuff - thanks esmi!

  6. esmi
    Forum Moderator
    Posted 3 years ago #

    No problem :-)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.