Required Theme Files in WordPress

| Last Updated: | In: WordPress Beginners

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.


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.

Tags: , , ,

About: Prem Tiwari

Prem Tiwari is the founder of and is a professional developer who has vast experience in PHP and open source technologies. Apart from this, he is a blogger by hobby.

You may also like:

Get Free Access of 450+ Scripts

Don't worry you'll not be spammed!

Featured eBook

WordPress Security Guide

Free Guide: Learn how to implement security guideline in your WordPress site...


Free WordPress Setup Service

Free WordPress Setup

Want to Setup WordPress Blog Setup? I will help you in the setup of your WordPress blog.

Click Here

Discount Coupons

Pincode Finder

pincode-finder tool

Online Pincode Finder

Best tool to locate post Office address and pincodes of all india...