• Hi.

    I want to make edits to home.php, but this will affect the live site…. Can I duplicated this file (something like home2.php) and make the changes there?

    The problem I am running into, is how can I preview this new file (home2.php)???

    Anyone have insight?

    thanks so much.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Copy the file and rename it to homepage.php. Edit it and at the very top, add:

    <?php
    /*
    Template Name: Home Page
    */
    ?>

    Create your test page and use the Page Template dropdown to assign your new template to it. You can now preview your new file/template.

    Hi,

    Copy your index page and rename it…and use that page as template in any page so you can view your page as template..

    Thanks,

    Shane G.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to create a ‘test’ version of the homepage?’ is closed to new replies.