Friday, 19 July 2013

How to use a Custom Page as a Home Page in WordPress

This is one of the most wanted hacks that users want to know how to accomplish. First you need to learn how to create a custom page. You will need to duplicate your page.php or create a brand new .php file and add the following code at the very top:


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

You can change the template name. Change any styling, that you want in that page. Go to your WordPress admin panel and create a new page and select this template.


custompagetemplate


Once you have published this page go to Settings » Reading in your admin panel.


customhomepage


And select your page to be the homepage. Now you have yourself a Custom Home Page.



How to use a Custom Page as a Home Page in WordPress