After this tutorials you will be able to know the Required Theme Files in WordPress. When you are going to create your custom WordPress theme then you must make sure that certain files are required. There are several standard template files that recommend by WordPress.

wordpress-required-theme

Required Theme Files

1) style.css
2) index.php
3) header.php
4) footer.php
5) comments.php
6) screenshot.png

Read :
How To Create a Custom Page Template in WordPress
Creating a Custom WordPress Widgets
Easy Steps To Create a WordPress Plugin

1) style.css

Style.css page include all information about your theme like theme’s author name, theme url, theme version number, theme description, and it’s header. See the bellow example :

2) index.php

Main template files in your theme. This template will be for your website’s home page. You can put static or dynamic content according to your needs.

3) header.php

This file will be used to define the header parts of your website such as navigation mennu, logo, socail media icons, etc


4) footer.php

This file will be used to define the copy rights text or you can also put some wordpress widgets according your website needs.

5) comments.php

You can design comment section according your website look and feel.

6) screenshot.png

The screenshot.png acts like a visual indicator of your theme’s looks like. This must be larger than 1200x900px in jpg or png formats.

Do like and share with your friends if you like.