Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I have a mulisite setup and I am using one theme for multiple sites in it and each site have a custom layout and design. So for that I need to create a child-theme. But I don't know how to create multiple child theme for each site so I can add customization in each child theme style.css, footer.php, function.php, header.php

e.g

I am using theme canvas for all sites. then I created canvas-child and customized it for site1 now I need to customize it for other site2 then how I can create one more child theme with current main theme canvas to effect customization on site2.

share|improve this question
    
You want to create a child of a child of a child theme? –  s_ha_dum Jan 16 '13 at 21:49
    
Or are you asking how to make a theme with many children? –  Tom J Nowell Jan 16 '13 at 22:04
    
I am asking for theme with many children –  Jamil Ahmed May 14 at 18:47
add comment

1 Answer

up vote 0 down vote accepted

You can copy your canvas-child folder and call it canvas-child-2, or similar. Then open up style.css in canvas-child-2, and edit the Theme Name:. Do this for as many different child themes you need.

You will then need to enable the child themes for the sites you wish to use them on. Visit the Sites menu in your Network Dashboard, and click the edit link under one of the sites. Switch to the Themes tab and click on the Enable link under the name of the theme you wish to use on this site. Do this for all sites you wish to use a custom child theme on.

The final step is to activate the themes on the sites. Login to the site's administration dashboard and visit the Themes menu. Click on the Activate link under the child theme you wish to use on this site. Do this for all sites you wish to use a custom child theme on.

share|improve this answer
    
@bunjeshea Many Thanks for your answer and its exactly what i am looking for. I cannot give you repu or accept answer because of account restrictions. –  Jamil Ahmed May 14 at 18:47
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.