• Hi all,

    I’m a bit new to WordPress and would like to make a new page template to use as a static front page. I would like it to be the site title, image, and a brief amoung of text with a clickable section to ‘enter’ the rest of the site.

    How do I add this page template and any ideas on where I can find the code to make the above? Do I make a php page and css stylesheet?

    Sorry that might be a bit much to answer…

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi RedRunner
    What’s your skill set? Can you write HTML and CSS? If so, won’t the following work? Rename index.php to index2.php, and create your own index.php, like this:

    <?php
    echo
    '<html>
    <head>
    [Put your HTML in here, including link to your.css]
    </head>
    <body>
    [Put your HTML in here, including the link to index2.php]
    </body>
    </html>';
     ?>

    Thread Starter RedRunner

    (@redrunner)

    Hi itProxy, thanks for your reply. My skill set is growing.. but I’m still unsure of some basics! I think I’m having difficulty with the html for the page itself – is there any source that would help me create it for the specs I need?

    Cheers

    Moderator keesiemeijer

    (@keesiemeijer)

    You can make a custom page template by duplicating your theme’s page.php and renaming it to myhome.php. (you cannot call it home.php because wordpress uses that template also). And alter it to your needs

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Making a new Front Page’ is closed to new replies.