Which are the necessary files for WordPress Theme?

The necessary files for WordPress theme are two for proper functioning:

index.php

  1. index.php
  2. style.css

These two files are minimum required files for proper working of WordPress theme.

As you can imagine, the first file index.php” deals with providing the contents to display while the second one “style.css” is used to establish the method through which these contents will be shown on the screen. WordPress first check "style.css" to identify the theme name & other information.


Learn more about the similar topics:
Tutorials
No Content Found.
Exercises & Assignments
No Content Found.
Interview Questions & Answers
No Content Found.