Are you want to change your WordPress site’s homepage look and fill, then you can create a custom homepage with your own design. In this post, I will explain how to use a custom homepage in WordPress website.
First, create a custom template page
custom-homepage.php for the homepage inside your theme’s folder. Use the below code to set the template name. Add your custom page design in the “custom-homepage.php” file and save it.
<?php /* Template Name: Custom Homepage */ ?>
Now login to your WordPress Admin panel and create a new page “Home” and select the template name from the drop-down.
and navigate to the Settings => Reading page and under the “Front page displays” option and switch to “A static page”. After that, you will be able to select the pages you just created as your home and blog pages.
For the more details visit here: how to create a custom page template in WordPress.
I hope this tutorial helps you, if you have any questions regarding WordPress, then feel free to put your comments in below comment section. Do you like & share this article with your friends, and don’t forget to follow us on Facebook and Twitter to learn cool WordPress tutorials.
Prem Tiwari is the founder of FreeWebMentor.com and also a professional developer who has vast experience in PHP and open source technologies. Apart from this, he is a blogger by hobby and also he has been a regular speaker of WordPress sessions in various IT Companies. View all posts by Prem Tiwari