Pages

1. 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:

1<?php /* Template Name: Smarthacking4uT1 */ ?>
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.




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



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

No comments:

Post a Comment