<?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>WordPress Pro - WordPress How To Plugins, Themes Usability &#187; Highlight Admin Comments</title>
	<atom:link href="http://crunchpress.com/tag/highlight-admin-comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://crunchpress.com</link>
	<description>Learn How To Use WordPress Like A Pro - WordPress Pro Articles</description>
	<lastBuildDate>Sun, 23 Oct 2011 08:49:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Highlight Admin Comments in WordPress Blog</title>
		<link>http://crunchpress.com/wordpress-highlight-admin-comments/</link>
		<comments>http://crunchpress.com/wordpress-highlight-admin-comments/#comments</comments>
		<pubDate>Tue, 15 Dec 2009 16:56:14 +0000</pubDate>
		<dc:creator>Nasir Hayat</dc:creator>
				<category><![CDATA[Hacks]]></category>
		<category><![CDATA[Tweaks]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Highlight Admin Comments]]></category>
		<category><![CDATA[WordPress Admin Comments]]></category>

		<guid isPermaLink="false">http://crunchpress.com/?p=219</guid>
		<description><![CDATA[
A while ago I was looking for such technique to highlight my own comments on my blog. After research I have got a very simple technique to perform this function. There are numbers of other techniques to perform this function. But the technique that I am describing below is simple then all others.
1. Changing my [...]]]></description>
			<content:encoded><![CDATA[<div style='float:left;' class='myrp_float_left myrp_float'></div>
<div style='float:right;' class='myrp_float_right myrp_float'></div>
<p style="text-align: center;"><img class="aligncenter size-medium wp-image-220" title=" WordPress - Highlight Admin Comments " src="http://crunchpress.com/wp-content/uploads/2009/12/admin-comment-sample-450x262.jpg" alt=" WordPress - Highlight Admin Comments " width="450" height="262" /></p>
<p style="text-align: left;">A while ago I was looking for such technique to highlight my own comments on my blog. After research I have got a very simple technique to perform this function. There are numbers of other techniques to perform this function. But the technique that I am describing below is simple then all others.</p>
<p><strong>1. Changing my theme to add an “authcomment” style</strong></p>
<p>I edited style.css and near the bottom added these lines:</p>
<blockquote><p>.authcomment {<br />
background-color: #B3FFCC !important;<br />
}</p></blockquote>
<p><strong>2. Editing my comments.php file to add a little code</strong></p>
<p>My comments.php file had a line that looked like this:</p>
<blockquote><p>&lt;li class=”&lt;?php echo $oddcomment; ?&gt;” id=”comment…</p></blockquote>
<p>and I changed it to more or less look like this:</p>
<blockquote><p>&lt;li class=”&lt;?php<br />
/* Only use the authcomment class from style.css if the user_id is 1 (admin) */<br />
if (1 == $comment-&gt;user_id)<br />
$oddcomment = “authcomment”;<br />
echo $oddcomment;<br />
?&gt;” id=”comment…</p></blockquote>
<p>After saving all code reload your page to see affect of this technique.</p>
]]></content:encoded>
			<wfw:commentRss>http://crunchpress.com/wordpress-highlight-admin-comments/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

