<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Chris M. Lindsey &#187; sandbox</title>
	<atom:link href="http://chrismlindsey.com/tag/sandbox/feed/" rel="self" type="application/rss+xml" />
	<link>http://chrismlindsey.com</link>
	<description>Just My Little Site</description>
	<lastBuildDate>Wed, 21 Dec 2011 23:17:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>How To: Highlight Author Comments in WordPress</title>
		<link>http://chrismlindsey.com/how-to-highlight-author-comments-in-wordpress/</link>
		<comments>http://chrismlindsey.com/how-to-highlight-author-comments-in-wordpress/#comments</comments>
		<pubDate>Tue, 25 Mar 2008 01:17:03 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[comments]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[sandbox]]></category>

		<guid isPermaLink="false">http://www.chrismlindsey.com/?p=130</guid>
		<description><![CDATA[I recently realized that my new theme doesn&#8217;t display author comments in a different color than regular comments, so I struck out to fix the issue. I regard author comment highlighting as a major feature or lack thereof for any theme. It should be mandatory, as it makes it easy to scan and find the [...]]]></description>
			<content:encoded><![CDATA[<p>I recently realized that <a href="http://www.chrismlindsey.com/2008/02/28/changed-themes-again-more-mnml-style/">my new theme</a> doesn&#8217;t display author comments in a different color than regular comments, so I struck out to fix the issue.</p>
<p>I regard author comment highlighting as a major feature or lack thereof for any theme.  It should be mandatory, as it makes it easy to scan and find the original author&#8217;s comments.  It also keeps a rude commenter from posting under your name and having readers believe it is actually your comment.  You could also use colored comment highlighting on a multi-author blog to note comments by writers from the site who didn&#8217;t actually write said post.</p>
<p>Anyways, on to the details.<br />
<span id="more-128"></span></p>
<p>Note that my theme (<a href="http://themeshaper.com/mnml-a-tumblelog-style-wordpress-theme/">MNML</a>), uses <a href="http://www.plaintxt.org/themes/sandbox/">Sandbox</a> as a backend.  This makes fixing this issue really easy.</p>
<p>If your theme is not based on Sandbox, use <a href="http://www.mattcutts.com/blog/highlight-author-comments-wordpress/">Matt Cutts&#8217; howto</a> to add author highlighting.</p>
<p>If your theme is based on Sandbox, follow along a couple of easy steps.</p>
<p>Sandbox uses lots of <a href="http://www.plaintxt.org/wp-content/uploads/readme1.html">semantic markup</a>, to make it easier for theme designers to style using only a stylesheet.  This makes it easy for us to identify comments by the post author.</p>
<p>Each comment includes several css classes, including <em>bypostauthor</em> if the comment author is also the author of the post.</p>
<p>So, go to your theme&#8217;s style.css file and add the following at the bottom:</p>
<p><code><br />
.bypostauthor {<br />
background-color: #<strong>COLORCODE</strong> !important;<br />
}<br />
</code></p>
<p>Change the <strong>COLORCODE</strong> to a six digit <a href="http://html-color-codes.com/">html color code</a> and you are set.</p>
<p>Currently, I am using this code to set my own comments to have a red background:</p>
<p><code><br />
.bypostauthor {<br />
background-color: #FF0000 !important;<br />
}<br />
</code></p>
<p>If editing CSS makes you queasy (hey, I understand, I was once a newbie, but editing CSS files makes for easy learning), try <a href="http://wordpress.org/extend/plugins/author-highlight/">one</a> of <a href="http://inner.geek.nz/archives/2005/01/12/wp-plugin-official-comments/">these</a> many <a href="http://rmarsh.com/plugins/highlight-comments/">plugins</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://chrismlindsey.com/how-to-highlight-author-comments-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

