Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

WordPress WordPress Theme Development Starting a WordPress Theme Setting Up A WordPress Theme Folder

index.html file where can i find it ?

i install the desktop server and addition to it i opened my sublime text editor and put the all folder inside it . everything is good until now . but i was wondering why cant i see my index.html folder inside it ? i look at my theme folder and it also not there . is that folder exist on wordpress ?

3 Answers

Hi Omer,

WordPress runs on PHP, so it is actually "index.php" file you are looking for and it should reside in the theme folder.

After installing WordPress you'll find one in each of the themes installed - typically "twentyfifteen", "twentysixteen" and "twentyseventeen".

It will depend on which theme you have activated as to which one you will be modifying.

As an example your file path will be something like "sitefolder/wp-content/themes/twentyseventeen/index.php".

Hope that helps :-) Don

thanks don i know the path and i see the index.php . so actually the all web site write on this index.php and it replacing the index.html cause it wordpress ?

Hi Omer,

That's the one.

Have you checked out Zac's WordPress Template Hierarchy course? That should give you a better understanding of how it is all put together.

Cheers Don :-)

No problems, happy to help :-)

thanks don i will see it .