<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
I am totally saving this to write up a quick tutorial and giving you
(naturally) full credit.<br>
<br>
Sweet.<br>
<br>
Quick & dirty if you're running a few sites of your own.<br>
<br>
A.<br>
<br>
Alex Hempton-Smith wrote:
<blockquote
cite="mid:AANLkTilGD0QBH6TuAAHV4j6n8Q8JpP9Cos6qhdlns02r@mail.gmail.com"
type="cite">Quick solution to this:<br>
<br>
<?php<br>
/*<br>
Plugin Name: Site Colors<br>
Plugin URI: <a moz-do-not-send="true"
href="http://www.alexhemptonsmith.com">http://www.alexhemptonsmith.com</a><br>
Description: Lets you define the header color for specific sites<br>
Author: Alex Hempton-Smith<br>
Version: 0.0.1-dev<br>
Author URI: <a moz-do-not-send="true"
href="http://www.alexhemptonsmith.com">http://www.alexhemptonsmith.com</a><br>
*/<br>
<br>
function site_colors(){<br>
<br>
$site = get_current_site();<br>
<br>
// Site with ID of 1 has a header with a red background<br>
if ($site->blog_id == 1)<br>
$header_color = 'red';<br>
<br>
// Site with ID of 2 has a header with a black background<br>
if ($site->blog_id == 2)<br>
$header_color = '#000';<br>
<br>
if ($header_color)<br>
echo "<style type='text/css'>#wphead {background:
$header_color !important;}</style>";<br>
}<br>
add_action('admin_print_styles', 'site_colors');<br>
<br clear="all">
-- Alex (Hempsworth)<br>
<br>
<br>
<div class="gmail_quote">On Tue, Jun 1, 2010 at 11:10 PM, andrea_r <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:andrea@ronandandrea.com">andrea@ronandandrea.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div id=":ow" class="ii gt">Or on a site-by-site basis when using
the new network feature. ;)<br>
<br>
Yes, the titles are different but color can be a great visual cue.</div>
</blockquote>
</div>
<br>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
wp-ui mailing list
<a class="moz-txt-link-abbreviated" href="mailto:wp-ui@lists.automattic.com">wp-ui@lists.automattic.com</a>
<a class="moz-txt-link-freetext" href="http://lists.automattic.com/mailman/listinfo/wp-ui">http://lists.automattic.com/mailman/listinfo/wp-ui</a>
</pre>
</blockquote>
</body>
</html>