WordPress | Custom Template in your theme
You will learn How to implement or create a custom template like about us, contact us in your theme.
It’s too easy.
Learn how | in your file directory create the file what want to crate template like about.
Note: Inner the template-contact.php don’t forget to implement or write Template Name
/* Template Name: Contact
Now you can assign the page to the contact page from admin
let’s do it.
In this dropdown section, you can see your created contact template
Select the contact template and save it.
And this contact page template displays the content, writing by this code.
Now add some contents form the admin, let’s see.
Now refresh or open the website and see result
You can style according to your interest.