Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to change the template of the Home Page.

  • Avatar of albertoshu
    albertoshu
    Member

    @albertoshu

    Hi, i would like to change the template of the home page. I know it is possible with any page going (in the admin panel) to pages->change template.

    However, the Home page is not listed in the pages admin panel, and therefore, i can not change the template.

    Any idea?

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Avatar of imjscn
    imjscn
    Participant

    @imjscn

    Create a new temepate, or copy/paste the default page.php to your child theme folder, modify it to whatever you like, give it a new name. say, new-page. php.
    At the top of your new-page.php , within ‘<?php', wite this: Template Name: xyz
    then, you’ll see it appears at the change template drop down list in dashboard.

    Avatar of albertoshu
    albertoshu
    Member

    @albertoshu

    hello jmjscn,

    yes i did that. But the thing is that de “home” page is no listed in the pages admin panel (unlike any other page created by me), and therefore i can not access to the “home” page dashboar.

    Avatar of imjscn
    imjscn
    Participant

    @imjscn

    I remember once I tried to make a home.php, it didn’t show up as I could expect on other self-made pages. if you make it home.php, maybe it is the problem. I’d say, just name it as something else, and give it a template name. Then, create a page in dashboard, and choose template in the drop down list.

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.