Using a Custom Homepage By default, WordPress shows your latest posts on your website’s homepage. You can change this and use any page as your site’s homepage.
First of all, you have to create a new page in WordPress, and you can name this page home. After this, you will have to create another page and let’s call this page blog because you will use it to display your blog post.
Now go to Settings >Page Under ‘Front Page Display’ option in your WordPress Admin and switch to ‘a fixed page’. After that, you will be able to select pages created in your home and blog pages.
You can also create a custom homepage template to use for your home page. Simply create a new file on your computer using a plain text editor and add this code at the top of it.
<?php /* Template Name: Custom Homepage */ ?>
Save this file as custom-homepage.php on your desktop.
After this, you need to connect to your website using an FTP client and go to / wp-content / themes / your-current-theme game / folder. Now upload the file you created to your Theme folder.
Return to WordPress Admin Area and edit your homepage. You will be able to select your custom homepage template under the page feature meta box.
For more information see our guide on how to create a custom page template in WordPress.
Now this page will be completely empty and it will not show anything. You can use custom HTML / CSS and WordPress template tags to create your own page layout. You can also use the Page Builder plugin to easily create one using drag and drop tools.
Here are some small tricks
- Navigate to Pages -> Add New.
- Give your page a name.
- On the right, find the “Attributes” settings.
- There, click on the “Templates” drop-down menu and select the template that was created for the homepage.
- Publish your page.
Continue Read:- Install Google Analytics in WordPress