WordPress.org

Ready to get started?Download WordPress

Forums

How to Change PHP Code for Child Theme When File is Below Parent Theme Folder? (4 posts)

  1. ShazamImages
    Member
    Posted 1 year ago #

    I have had success in copying a php file from the parent theme (wp-content/themes/<parent_theme_name>) to the child theme (wp-content/themes/<child_theme_name>) and then modifying the file when the file resides at the top folder level.

    But now I am trying to customize php files that are below the main theme directory (such as wp-content/themes/<parent_theme_name>/inc) and I am not having success. I create a similar directory structure under the child theme, copy the file, make modifications to the file, but the changes don't take effect. I know that the changes work, because if I make them in the parent theme, then they do take effect. It is only when I make the changes under the child theme that they seem to be ignored.

    Does anyone know if it is possible to modify a php file that is below the main theme directory (wp-content/themes/<parent_theme_name>?

    And if so, how?

  2. esmi
    Forum Moderator
    Posted 1 year ago #

    What parent theme are you using? Where did you download it from?

  3. ShazamImages
    Member
    Posted 1 year ago #

    esmi:

    Thanks for the quick reply.

    << What parent theme are you using? >>

    SymbioStock

    << Where did you download it from? >>

    https://github.com/orangeman555/symbiostock/

  4. esmi
    Forum Moderator
    Posted 1 year ago #

    I'm sorry but as you are using a non-WPORG theme, you need to seek support from the theme's developers - paid or otherwise. We only support themes downloaded from wordpress.org here.

Topic Closed

This topic has been closed to new replies.

About this Topic