Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End PHP and Child Themes

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #38770
    stevestearns
    Member

    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?

    FYI – I am a newbie to WordPress and PHP.

Viewing 1 post (of 1 total)
  • The forum ‘Back End’ is closed to new topics and replies.