I have run into a couple of cases of attempting to insert php code into a child theme, by copying the functions.php to child theme and adding the php code, for example: “remove_action(‘wp_head’, ‘wp_generator’);” however it breaks the website with errors related to the functions.php page. It seems it can’t find the custom functions for the theme.
I have WordPress installed in accordance with your recommendations of index.php and .htaccess at the root html folder and WordPress installed in a subfolder with an obscure name (I used a 25-character strong encryption name generated from a password generator). The child theme functions fine with the minor edits I have made to html within the php files and the css files.
Is there something I should be doing different with this type of installation? Are there reference sources for this type of installation?