• My homepage is made using home.php and I would like it to be editable in the Dashboard > Pages.

    When I go to Dashboard > Settings > Reading > Front page displays: Static page
    The drop down box for Front page: _______ does not display Homepage as a choice.

    Do I need to to add the following code to make it visible in the Front page drop down menu? If not, please advise what I should do.

    <?php
    /*
    	Template Name: Homepage
     */
    ?>

    Thank you!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter fernandolawl

    (@fernandolawl)

    Update:
    I tried adding the following code to home.php and Homepage still does not show up at Dashboard > Settings > Reading > Front page displays: Static page
    The drop down box for Front page: _______

    <?php
    /*
    	Template Name: Homepage
     */
    ?>

    If anyone knows what to do, please let me know. Appreciate the help!

    You need to actually create a page and then set it to use your new template.

    Thread Starter fernandolawl

    (@fernandolawl)

    Thanks WPRanger,
    So this means, I shouldn’t even bother touching index.php or creating a home.php. Is that correct?

    You were on the right track, just create the page inside WordPress and then assign your new template to it.

    Thread Starter fernandolawl

    (@fernandolawl)

    Thanks! I will try this.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to set home.php as editable page’ is closed to new replies.