In the section on modules, we saw how modules can be shared (to a certain extent) by placing them in sites/all/modules/
, or how they can be installed for only a specific site by placing them in sites/SITENAME/modules/
, where SITENAME
is replaced by the site's name.
The same holds for themes. Multi-site themes can go in sites/all/themes
, while site-specific themes can go in sites/SITENAME/themes/
.
We can see this by first installing a theme into the sites/all/themes/
directory. Let's begin with the BlueMasters theme. This is a stand-alone theme, which means it does not depend on a base theme. So we can install it in the usual ways. Either download it and uncompress it into sites/all/themes
, or use Drush to do this for you:
$ drush dl bluemasters
Now when we log into Books as an administrator we can go to the Appearance page and see Blue Masters there. And if we go to the Cooks site, log in, and visit the Appearance settings, we will see the same thing:
Now let's enable BlueMasters on...