English French German Spain Italian Dutch Russian Portuguese Japanese Korean Arabic Chinese Simplified

Thursday 8 March 2012

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: WPBeginnerT1 */ ?>
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.
Custom Page Template
Once you have published this page go to Settings » Reading in your admin panel.
Custom Homepage in WordPress
And select your page to be the homepage. Now you have yourself a Custom Home Page.

0 comments:

Post a Comment

Share

Twitter Delicious Facebook Digg Stumbleupon Favorites More