To change the upload directory I have to do this:
define ( "upload", "<new upload location>" );
How can you change the themes location? I like to create a folder themes in the root directory.
2 s
You can register additional directory or directories with themes by using register_theme_directory()
function, that accepts filesystem path to folder.
Note that this isn’t typical and even while core handles it mostly fine, third party code in themes and plugins might not.