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.
If you like FreeWebMentor and you would like to contribute, you can write an article and mail your article to [email protected] Your article will appear on the FreeWebMentor main page and help other developers.