Beginner here, forgive my lack of knowledge. I have a downloaded WP theme on PC and want to edit the code.

[ad_1]

Why does this include index.php but not index.html? I can see html page in online source code of the homepage (CTRL+U)

Is this page only available online on a theme server, is editing these files only possible in admin online editor?

[ad_2]
2 Comments
  1. `.php` files are files that (that usually in general) get processed on the server. when they are processed, it is their output that gets sent back to the calling client (normally your browser). These can be either directly called, or included with other `.php` file calls.

    `.html` files are files that (that usually in general) are just read and directly passed though as-is to the calling client. These are usually always directly just called.

    WP themes are not something that directly get called by the visitor. WordPress is set up to (for most things) call the `index.php` in the root of the site, that starts all of the WordPress processing, that at some point, sees what theme you have set up, then includes the particular `.php` files from the theme directory to process.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer