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'm trying to create two (for now) sites in multisite WP installation that use same theme, but require somewhat different functionality i.e homepage has a bit different layout and there will be some CSS changes.

Is there a way that I could use to override functions.php and other theme files for each site?

share|improve this question

2 Answers 2

up vote 3 down vote accepted

I would recommend a Parent/Child theme for this. Read the section linked below for a good example of making functions within your theme pluggable.

http://codex.wordpress.org/Child_Themes#Using_functions.php

share|improve this answer

Since you can use different themes for the same multisite installation you can create a new theme folder which will basically be the same theme. Just activate this newly created theme via dashboard and you are ready to go.

Then you can completely customize your theme from website to website without any problems.

share|improve this answer

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.