• Resolved blastblast

    (@blastblast)


    So I’ve made a child theme of the modifications I made and I notice that the changes in “template-tags.php” was not registering.

    The location of this file is p2 theme/inc/template-tags.php.

    I reckon the changes are not registering because it might have something to do with the fact that it resides in a sub-folder (inc), so any of the other files in inc folder might not work as well…But I’ve successfully made other child theme with sub-folders before.

    Researching the problem, other people as far back as 3 years has had the same problem with child theming and inc folder:
    https://wordpress.org/support/topic/theme-options-in-child-theme
    https://wordpress.org/support/topic/problem-creating-p2-child-theme

    No solution has yet been provided and one of the author settled on just making the customization in the original file and not updating.

    So I’m wondering has there been a fix to be able to child theme php files in the inc folder?

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • sacredpath

    (@sacredpath)

    Automattic Happiness Engineer

    Hi there, I chatted with the developer about your P2 issue, and the way child themes work is that WordPress only look for certain core-supported files, and the template-tags.php file is a P2 specific file, which is why it won’t find and use it.

    Since P2 is no longer being developed (only security related updates) this is not something that will be changed.

    Hi there, first I want to say thank you for all the developers and contributors in this community.

    blastblast stated above: “the author settled on just making the customization in the original file and not updating”

    I too am trying to figure out how to make changes to P2 and not have updates affect it but I guess it’s not possible?

    Cheers

    I too am trying to figure out how to make changes to P2 and not have updates affect it but I guess it’s not possible?

    What specific changes are you trying to make? Child themes are definitely possible to use with P2, as long as you’re making changes in theme files like header.php, footer.php, or overriding functions in the correct way for child themes.

    Hi Kathryn, I’ve since become aware of woothemes Houston, etc so yes, I think I’ll give it a shot 🙂

    Thank you for your help!

    Cool, good luck! If you need help with anything else feel free to start a new thread. Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Has the child theme problem been fixed?’ is closed to new replies.