• Resolved keeperbay

    (@keeperbay)


    I have a theme and it has a child theme that I’m using for one of the sites (not the main site)
    Another users wants the child theme also, but they want it tweaked a little. So that would be 2 different child themes running off the same parent theme.

    Right now I have Parent, Parent-child, I need Parent-child2 – can I do that? And if so, How?

Viewing 3 replies - 1 through 3 (of 3 total)
  • It should be possible, Though i have no practical experience, as long as the child theme(1 or 2 or 3) will be referencing the parent theme correctly it should work fine. Just make sure the new child theme (after making changes to your child theme) references the parent theme and not the child theme you have customized for your site.

    Thread Starter keeperbay

    (@keeperbay)

    In case anyone ever tries this – it worked!

    In the css I used:
    Theme Name: themeName-child2
    Template: themeName

    I named the folder: themeName-child2

    (“themeName” represents the name of the theme, don’t use “themeName” it won’t work)

    Thank you to Saravanan. I think I was over thinking it.

    Happy Coding!

    this works perfectly.

    you can build entirely different child themes from parent theme, and even add a folder to parent theme and use
    include TEMPLATEPATH . '/folder/file-name.php'
    in your child-theme/functions.php file in order to use common ressources or functions.
    (though i’m not sure if files get deleted in case of theme update, or if only originally existing files get updated)

    i guess another way would be building a child theme and branching off grandchildren but i’ve never tried that, since it seems like a bit of a hassle

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Can I use parent theme for several child themes. (multisite)’ is closed to new replies.