On an average page, we may want to display the page title. The home page is a special page of course. Let's prepare a custom template for it.
In the following steps, we'll set up a custom page template that will remove the page heading and bring in a custom template for our page contents. We'll equip the custom content template with the markup structure we need for the carousel and columns:
In the main
themes
folder, find thetemplate-custom.php
file. This is a sample page template that's easy for us to adapt.Make a copy of it and rename it
page-home.php
as shown in the following screenshot:Open the new
page-home.php
file in your editor and edit the opening comment, changing the template name toHomepage Template
:/* Template Name: Homepage Template */
Save the file.
Now, back in your WordPress Dashboard, edit the page named Home. Change its page template to the newly created
Homepage Template
.Update the page.