 Hi, and welcome to Learn WordPress. In this tutorial, we will see how to create a custom template, which lets you use a different design or layout from the rest of your website. This means you can create a page or post template with a unique header, footer, or other page elements. You might want to create a custom template for an event, a landing page, different types of blog posts, or even have unique styles for different pages on your site. To create a custom template, make your way to Appearance and click on Editor. And this will take you to your site editor. And once you're a year, make your way to templates. And let's first open the page template. As you will notice, the page template already has a header and a footer, and all the pages that have been assigned to this page template will have this header and footer. I want my sample page to have a different header and footer, and custom templates will help me to achieve that. So let's make our way to templates, and then click on Add New, and scroll to the bottom and select Custom Template. Name it appropriately, and then click Create. Next, I will open up my list view, and then remove this header and footer from my template. I will keep my post content block in place, as all content is displayed through the post content block. Next, I will insert a new header, one which I've already created, and is available below existing template parts. Then I will add a new footer, and select one that I've already created called centered footer with social links. And now I have completed my custom template with a new header and footer. After saving the custom template, we can make our way to our dashboard, open our sample page, and here we will notice the content we've already added to the page, and we will see that this template has been assigned to the page template, which is the default template. And now we will assign it to the new sample page custom template that we just created. Once updated, we can make our way to the front end of the website. And we will see that our other pages share the original header and footer. But if we now click on the sample page, we will see that the sample page has its own unique header and footer, due to the fact that we've assigned a custom template to this page. It is also worth noting, when we make our way back to the sample page, for example, and look at our sidebar settings, you also have the ability to edit a template or add a custom template from here. Next, you might have a blog page and would like to have different page layouts for different types of blog posts. And I've created a custom template for my book review page and for my movie review page. So when I make my way to my custom template for book reviews, you will notice I've added a unique banner with the help of a cover block. And when we open the query loop block, you will notice I've added a category filter to only display the relevant posts. And when I make my way to the custom template for my movie reviews, we will see I followed the same process. And I've added the movies category. Next, I will make my way to the dashboard and open the page named Books. And then assign this page to the custom template that I've created called Books. And then I will open up the page named Movies and assign it to the movie's custom template. And once we have updated, we can check out the front end of our website to see the unique layouts for the blog page about movie reviews and the blog page about our book reviews. Before we move on, it is also important to note that the single template is the default template for displaying any single post. But you could of course create a different design for a single post using a custom template and assigning it to the relevant post or posts. In the last example, I've created a custom template for a landing page which can be used for marketing purposes. When we open the custom template, you'll notice I've removed the header and the footer and I've only kept the post content block as this displays all content from a page that has been assigned to this template. Now we can make our way to the dashboard and open up the relevant page with all the content. And we will also see I've already assigned this page to the landing page template which I've created. And now if we click on Preview, we can view our landing page which can be used on social media or in an email, for example. I trust you feel more confident now creating your own custom templates. And visit Learn WordPress for more tutorials and training material.