
Introduction
In this blog post we'll be talking about an essential part of Wordpress which are the templates. Wordpress templates a collection of files that work in unison to produce the graphical content of the website or they are files define parts of a web page displayed or generated by a Wordpress theme.
They are sometimes mistaken for themes which is the skin of a Wordpress website. A Wordpress theme contains the template files and other files for a Wordpress website but a Wordpress template only contains certain files which are responsible for certain functions on the Wordpress website. Below are several wordpress templates and their functions.
Examples of Wordpress Templates and their Functions.

Main
This is the index.php file and it is used to display the main page of a website.
Header
This is the header.php file and it is used to display the header section of a website.
Sidebar
This is the sidebar.php file and it is responsible for displaying the HTML for the side section of a website.
Footer
This is the footer.php file and it displays the footer section of a website.
Theme Functions
This is the functions.php file and it contains the code and functions that are used in a Wordpress website theme. I'll explain what themes are in my next blog post.
Single Post
This is the singles.php file and it displays the single post page on a website.
Comments
This is the comments.php file and it displays the comments and comments form on a website.
Series
This is the second blog post on my Wordpress series. Below is the link to the first post
Posted on Utopian.io - Rewarding Open Source Contributors
Your contribution cannot be approved because it is not as informative as other contributions. See the Utopian Rules. Contributions need to be informative and descriptive in order to help readers and developers understand them.
You can contact us on Discord.
[utopian-moderator]