• what are the files for that reside outside wp-admin, wp-content and wp-include?

    namely all the wp-‘files’ e.g. wp-activate.php etc…

    what’s their relation/ function to the theme?

Viewing 5 replies - 1 through 5 (of 5 total)
  • No relation to the theme… per se

    the index.php is the little file that makes everything work. It boots the WP environment

    the rest of the files help with login, registration, account activation, etc.

    They all have various functions within WP core.

    index.php loads wp-blog-header.php which loads wp-load.php and template-loader.php which fires up WP and gets your theme loaded.

    So they aren’t part of, or directly related to the theme, they get everything fired up, and handle some important functions

    so if i understand, they are per se needed because they not only load the theme but they have also some functions that are used by the theme?

    Else, with a different URL i could just go to the theme, right?

    Yes, you need all the files in WordPress Core.

    Else, with a different URL i could just go to the theme, right?

    I’m sorry, I don’t quite understand what is being asked here.

    But, all the files for wordpress, that is everything installed in root (the files you were asking about), plus the files in wp-admin, and wp-includes are considered core files.

    Core files must all be kept in place, never deleted or edited. They make WP work. There are tonnes of files there, and they all have some little hand in making WP function.

    ok i got it more or less. Is there a reason why those files are not just placed in the wp-include directory?

    Suppose i want to have a blog in a website and modify the blog according to the style of the website, i could do this entirely by changing the files in the theme folder?

    thanks for the replies already!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘files’ is closed to new replies.