Note: Sorry about the bad header problem. Version 1.0.1 should work much better.
If you want a different CSS file (also known as a skin) for the different sites you are working on in WordPress Multi-Site you have to make a child theme (best practice) or copy a theme and change its name, css, and whatever else you may desire to change (less than optimal solution).
But wait! There is a better solution!
You can add site specific CSS to each blog individually, instead of changing your theme or using a million child themes.
This let’s you keep all the functionality built into your favorite theme and just change the look a bit. It is a much lighter solution than creating yet another child theme� which gets tedious on multi sites.
We originally developed this because we created a child theme based on twenty-ten and then wanted to create several variations� but wordpress doesn’t let you make a child theme of a child theme. Now, we do not need to. And for just thirty nine ninty... wait... It is free? What is wrong with us?
Got comments? Wanna share this with all your multi-site friends? Cool! We do too!
Here are three different ways you can install this plug-in:
- Use the handy install option built into wordpress.
- or... Download the zip file, un-zip, and upload to the plug-ins directory.
- or... Copy the contents of site-specific-css.php to the functions.php of your favorite child theme.
Then if you installed as a plug-in (options 1 or 2 above), activate the plugin.
Next make sure you can upload a css file.
- Goto the Super Admin menu
- Select options, and near the bottom find a list of all acceptable file extensions.
-
Make sure css is on the list.
Now to use it.
-
Upload the css file you’d like to apply to your site using the media upload (recommended) or ftp.
- After you upload, copy the location of the file.
- Make sure you have the correct site and child theme active, then look under appearance. There will be a new menu item for Site Specific CSS.
- Paste the URL of the CSS file into the only (for now) option box, then save changes.
- Enjoy your new look.
1.0 First public release.
1.0.1 Header corrected so it will install.