• Resolved yydevelop

    (@yydevelop)


    Is it possible to load child theme to child theme?

    I have the parent theme and i load a child theme to it and do changes to it.

    I want to add second child theme that will overwrite files from the first child theme.

    Is that possible? I have tried loading the second child theme like i load regular child theme and it didn’t worked.

    • This topic was modified 4 years, 10 months ago by Jan Dembowski.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello @yydevelop,

    Sorry but child theme itself is a concept where you can override the parent theme functionalities.

    You can not have a child theme to another child theme. It’s not a chaining methodology.

    Could you please explain the scenario why you are thinking of having a child theme to a child theme?

    Thread Starter yydevelop

    (@yydevelop)

    Hey thanks for your answer.

    I build websites for myself and for my clients. For my clients i use a simple theme and for myself I add to the theme more complex functions and options.

    I wanted to be able to use as the base theme the simple parent theme, on top of that the more advanced child theme for my projects and for each project make some changes with another child theme so i will be able to update both parent and child.

    If that not possible i will try and find a way to go around that.

    Hi @yydevelop ,

    In this case, I will suggest you to build composer packages for your own child theme. So in future, you can run your updates without touching to your custom codings.

    Or also, you can provide hooks and filters in your child theme and extend the functionality as per your need in a folder. Say you name that folder as ‘custom’. You can manage your updates so that your custom folder remains untouched and also your child theme will get upto date.

    Thread Starter yydevelop

    (@yydevelop)

    Yea it is probably be the way to do that.

    Thank you for your detailed answers i really appreciate that.

    Hi @yydevelop

    I am glad you found them helpful.

    I request you to mark this issue resolved.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Load child theme to child theme on wordpress?’ is closed to new replies.