Use a Custom Page as a Home Page in WordPress..
how to make a custom page for 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 may see many websites on the web using a custom homepage for their WordPress. In this quick tutorial we will show you how you can create a custom homepage by combining the use of custom page template, and WordPress admin panel.
Method 1 how to make a custom page for wordpress
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.
Once you have published this page go to Settings » Reading in your admin panel.
Method 2 how to make a custom page for wordpress.
Method 2 does not involve the use of Custom Page Template Technique. All you have to do is create a new file and name it home.php, and you can use any WordPress parameters in there. This file will automatically take over your index.php, and it will be displayed as your homepage. You can use this method if you do not want to have a separate blog page.
Leave A Comment
You must be logged in to post a comment.