<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Highlight Your Comments</title>
	<atom:link href="http://www.bloggingtips.com/2008/05/25/highlight-your-comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bloggingtips.com/2008/05/25/highlight-your-comments/</link>
	<description>Blogging Guides, News, Tips, Resources</description>
	<lastBuildDate>Wed, 10 Mar 2010 11:06:25 -0400</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: gpcfzuomy rkqd</title>
		<link>http://www.bloggingtips.com/2008/05/25/highlight-your-comments/#comment-188127</link>
		<dc:creator>gpcfzuomy rkqd</dc:creator>
		<pubDate>Thu, 26 Jun 2008 18:20:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloggingtips.com/?p=1753#comment-188127</guid>
		<description>kcsobalhn crzg ecsbznmv iumfst bamh refqxwjd tvndraz</description>
		<content:encoded><![CDATA[<p>kcsobalhn crzg ecsbznmv iumfst bamh refqxwjd tvndraz</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alternating Comment Styles</title>
		<link>http://www.bloggingtips.com/2008/05/25/highlight-your-comments/#comment-158072</link>
		<dc:creator>Alternating Comment Styles</dc:creator>
		<pubDate>Sun, 01 Jun 2008 15:00:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloggingtips.com/?p=1753#comment-158072</guid>
		<description>[...] on from last weeks post on highlighting your comments, I figured another useful post would be about setting up your comments to have alternating styles. [...]</description>
		<content:encoded><![CDATA[<p>[...] on from last weeks post on highlighting your comments, I figured another useful post would be about setting up your comments to have alternating styles. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Links Only Your Mother Could Love - This Month In SEO - 5/08 &#124; TheVanBlog &#124; Van SEO Design</title>
		<link>http://www.bloggingtips.com/2008/05/25/highlight-your-comments/#comment-156054</link>
		<dc:creator>Links Only Your Mother Could Love - This Month In SEO - 5/08 &#124; TheVanBlog &#124; Van SEO Design</dc:creator>
		<pubDate>Fri, 30 May 2008 23:17:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloggingtips.com/?p=1753#comment-156054</guid>
		<description>[...] Highlight Your Comments [...]</description>
		<content:encoded><![CDATA[<p>[...] Highlight Your Comments [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Behrad</title>
		<link>http://www.bloggingtips.com/2008/05/25/highlight-your-comments/#comment-155295</link>
		<dc:creator>Behrad</dc:creator>
		<pubDate>Fri, 30 May 2008 10:46:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloggingtips.com/?p=1753#comment-155295</guid>
		<description>Yes, and a big thanx to Sarah for helping me out!!  :mrgreen:</description>
		<content:encoded><![CDATA[<p>Yes, and a big thanx to Sarah for helping me out!!  <img src='http://www.bloggingtips.com/wp-includes/images/smilies/icon_mrgreen.gif' alt=':mrgreen:' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sarah</title>
		<link>http://www.bloggingtips.com/2008/05/25/highlight-your-comments/#comment-155273</link>
		<dc:creator>Sarah</dc:creator>
		<pubDate>Fri, 30 May 2008 10:31:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloggingtips.com/?p=1753#comment-155273</guid>
		<description>Seems like we&#039;ve fixed Behrad&#039;s issue in that the new mycomment CSS class was being specified before the comment class CSS, which would mean the second class would override the first. I&#039;ve updated the post to point this out too.

Got there in the end  :grin:</description>
		<content:encoded><![CDATA[<p>Seems like we&#8217;ve fixed Behrad&#8217;s issue in that the new mycomment CSS class was being specified before the comment class CSS, which would mean the second class would override the first. I&#8217;ve updated the post to point this out too.</p>
<p>Got there in the end  <img src='http://www.bloggingtips.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':grin:' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Behrad</title>
		<link>http://www.bloggingtips.com/2008/05/25/highlight-your-comments/#comment-155236</link>
		<dc:creator>Behrad</dc:creator>
		<pubDate>Fri, 30 May 2008 09:38:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloggingtips.com/?p=1753#comment-155236</guid>
		<description>Sarah, 
This doesn&#039;t seem to work.. I&#039;ve changed the second line to what you suggested but I don&#039;t understand the second part....

Do I have to insert this line =&gt; ?
If so, where do I have to insert it.. 

And in my Stylesheet I still have this:
--
div.mycomment {
clear: both;
width: 98%;
background: #73BE1E;
padding: 4px;
margin-bottom: 8px;
}
--

Do I need to change this or what? 
Thnx for your time and answers btw! :)</description>
		<content:encoded><![CDATA[<p>Sarah,<br />
This doesn&#8217;t seem to work.. I&#8217;ve changed the second line to what you suggested but I don&#8217;t understand the second part&#8230;.</p>
<p>Do I have to insert this line =&gt; ?<br />
If so, where do I have to insert it.. </p>
<p>And in my Stylesheet I still have this:<br />
&#8211;<br />
div.mycomment {<br />
clear: both;<br />
width: 98%;<br />
background: #73BE1E;<br />
padding: 4px;<br />
margin-bottom: 8px;<br />
}<br />
&#8211;</p>
<p>Do I need to change this or what?<br />
Thnx for your time and answers btw! <img src='http://www.bloggingtips.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sarah</title>
		<link>http://www.bloggingtips.com/2008/05/25/highlight-your-comments/#comment-155074</link>
		<dc:creator>Sarah</dc:creator>
		<pubDate>Fri, 30 May 2008 07:10:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloggingtips.com/?p=1753#comment-155074</guid>
		<description>Behrad,

You need to change the second line of the code you posted in that text file from

&lt;code&gt;&lt;div class=&quot;comment&quot;&gt;&lt;/code&gt;

to

&lt;code&gt;&lt;div class=&quot;comment&lt;?php if ($comment-&gt;user_id == get_the_author_ID()) echo &#039; mycomment&#039;; ?&gt;&quot;&gt;&lt;/code&gt;

Which should then give you the output for your own comments as

&lt;code&gt;&lt;div class=&quot;comment mycomment&quot;&gt;&lt;/code&gt;

As you&#039;ve already got a class attribute in the div my original code has been altered slightly as you don&#039;t need to output a second class attribute, just put the two classes in the same attribute.

Let me know if that works :)</description>
		<content:encoded><![CDATA[<p>Behrad,</p>
<p>You need to change the second line of the code you posted in that text file from</p>
<p><code>&lt;div class="comment"&gt;</code></p>
<p>to</p>
<p><code>&lt;div class="comment&lt;?php if ($comment-&gt;user_id == get_the_author_ID()) echo ' mycomment'; ?&gt;"&gt;</code></p>
<p>Which should then give you the output for your own comments as</p>
<p><code>&lt;div class="comment mycomment"&gt;</code></p>
<p>As you&#8217;ve already got a class attribute in the div my original code has been altered slightly as you don&#8217;t need to output a second class attribute, just put the two classes in the same attribute.</p>
<p>Let me know if that works <img src='http://www.bloggingtips.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Behrad</title>
		<link>http://www.bloggingtips.com/2008/05/25/highlight-your-comments/#comment-154528</link>
		<dc:creator>Behrad</dc:creator>
		<pubDate>Thu, 29 May 2008 21:33:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloggingtips.com/?p=1753#comment-154528</guid>
		<description>Hmmm..Sorry! 
I see that I can&#039;t insert the relevant code in my comment so I&#039;ve put the relevant code here: 
http://www.bioteck.net/comments.txt</description>
		<content:encoded><![CDATA[<p>Hmmm..Sorry!<br />
I see that I can&#8217;t insert the relevant code in my comment so I&#8217;ve put the relevant code here:<br />
<a href="http://www.bioteck.net/comments.txt" rel="nofollow">http://www.bioteck.net/comments.txt</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Behrad</title>
		<link>http://www.bloggingtips.com/2008/05/25/highlight-your-comments/#comment-154519</link>
		<dc:creator>Behrad</dc:creator>
		<pubDate>Thu, 29 May 2008 21:30:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloggingtips.com/?p=1753#comment-154519</guid>
		<description>Sarah, 
I have tried what you wrote, but I can&#039;t get it working..  :???: 
I&#039;ve added the code like this:

&lt;div class=&quot;comment&quot;user_id == get_the_author_ID()) echo &#039; class=&quot;mycomment&quot;&#039;; ?&gt;&gt;

and then styled the div.mycomment (I copied my div.comment elements and only changed the background colour) like this:
div.mycomment {
	clear: both;
	width: 98%;
	background: #73BE1E;
	padding: 4px;
	margin-bottom: 8px;
}

So, again, what am I doing wrong?  :neutral: 
Here&#039;s the relevant code of my comments.php:
--

	
		
		&lt;a name=&quot;comment-&quot; id=&quot;comment-&quot; &gt;
			
		



		comment_approved == &#039;0&#039;) : ?&gt;
			 Thank you for your comment. Your comment is now awaiting moderation.
		

		
			&lt;strong&gt;&lt;a href=&quot;&quot; target=&quot;_blank&quot;&gt;&lt;/strong&gt; wrote on  -  
		


			
		

			
	
		
	
--
I hope this will help...</description>
		<content:encoded><![CDATA[<p>Sarah,<br />
I have tried what you wrote, but I can&#8217;t get it working..  <img src='http://www.bloggingtips.com/wp-includes/images/smilies/icon_confused.gif' alt=':???:' class='wp-smiley' /><br />
I&#8217;ve added the code like this:</p>
<p>&lt;div class=&#8221;comment&#8221;user_id == get_the_author_ID()) echo &#8216; class=&#8221;mycomment&#8221;&#8216;; ?&gt;&gt;</p>
<p>and then styled the div.mycomment (I copied my div.comment elements and only changed the background colour) like this:<br />
div.mycomment {<br />
	clear: both;<br />
	width: 98%;<br />
	background: #73BE1E;<br />
	padding: 4px;<br />
	margin-bottom: 8px;<br />
}</p>
<p>So, again, what am I doing wrong?  <img src='http://www.bloggingtips.com/wp-includes/images/smilies/icon_neutral.gif' alt=':neutral:' class='wp-smiley' /><br />
Here&#8217;s the relevant code of my comments.php:<br />
&#8211;</p>
<p>		&lt;a name=&#8221;comment-&#8221; id=&#8221;comment-&#8221; &gt;</p>
<p>		comment_approved == &#8216;0&#8242;) : ?&gt;<br />
			 Thank you for your comment. Your comment is now awaiting moderation.</p>
<p>			<strong>&lt;a href=&#8221;" target=&#8221;_blank&#8221;&gt;</strong> wrote on  &#8211;  </p>
<p>&#8211;<br />
I hope this will help&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sarah</title>
		<link>http://www.bloggingtips.com/2008/05/25/highlight-your-comments/#comment-154463</link>
		<dc:creator>Sarah</dc:creator>
		<pubDate>Thu, 29 May 2008 21:08:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloggingtips.com/?p=1753#comment-154463</guid>
		<description>Hi Behrad, without seeing your comment PHP code (or the bit where you&#039;ve put the code I posted above) I can&#039;t say for certain why it&#039;s not working however my guess would be that it&#039;s because your comments are not structured using a list but divs. Looking at the source code of one of your posts, each comment is surrounded by a div eg

&lt;code&gt;&lt;div class=&quot;comment&quot;&gt;&lt;/code&gt;

This is what you would need to find in your comments.php file and then add

&lt;code&gt;&lt;?php if ($comment-&gt;user_id == get_the_author_ID()) echo &#039; mycomment&#039;; ?&gt;&lt;/code&gt;

Before the second double quote. Then in your CSS stylesheet you would style div.mycomment.

If that doesn&#039;t make sense then you&#039;ll need to post up the relevant code from your comments.php file so that I can see it and then explain where to put the code.</description>
		<content:encoded><![CDATA[<p>Hi Behrad, without seeing your comment PHP code (or the bit where you&#8217;ve put the code I posted above) I can&#8217;t say for certain why it&#8217;s not working however my guess would be that it&#8217;s because your comments are not structured using a list but divs. Looking at the source code of one of your posts, each comment is surrounded by a div eg</p>
<p><code>&lt;div class="comment"&gt;</code></p>
<p>This is what you would need to find in your comments.php file and then add</p>
<p><code>&lt;?php if ($comment-&gt;user_id == get_the_author_ID()) echo ' mycomment'; ?&gt;</code></p>
<p>Before the second double quote. Then in your CSS stylesheet you would style div.mycomment.</p>
<p>If that doesn&#8217;t make sense then you&#8217;ll need to post up the relevant code from your comments.php file so that I can see it and then explain where to put the code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Behrad</title>
		<link>http://www.bloggingtips.com/2008/05/25/highlight-your-comments/#comment-154316</link>
		<dc:creator>Behrad</dc:creator>
		<pubDate>Thu, 29 May 2008 18:34:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloggingtips.com/?p=1753#comment-154316</guid>
		<description>Hello Sara,

Nice article! I just tried to do what you told, but nothing happened. 
I put the code you mention in my comment.php instead of the &quot;old&quot; code.
Then I put li.mycomment in my css and styled it, but then again nothing happend. 
So what am I doing wrong? Can you help me please?</description>
		<content:encoded><![CDATA[<p>Hello Sara,</p>
<p>Nice article! I just tried to do what you told, but nothing happened.<br />
I put the code you mention in my comment.php instead of the &#8220;old&#8221; code.<br />
Then I put li.mycomment in my css and styled it, but then again nothing happend.<br />
So what am I doing wrong? Can you help me please?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sarah</title>
		<link>http://www.bloggingtips.com/2008/05/25/highlight-your-comments/#comment-153130</link>
		<dc:creator>Sarah</dc:creator>
		<pubDate>Wed, 28 May 2008 20:41:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloggingtips.com/?p=1753#comment-153130</guid>
		<description>Hi Gedet, can you post up the code you&#039;ve used plus a bit of the surrounding code then I can see what you&#039;ve done and spot any mistakes if there are any. Although, looking at your site code, it doesn&#039;t look good to start with. You&#039;ve got images in between list item tags, and your author highlight uses a surrounding div by the looks of things, and not a simple class.

As for my last statement. The code adds a class of &#039;mycomment&#039; to the list item, so in your CSS you would then target your comments as the post author by styling li.mycomment in your stylesheet.</description>
		<content:encoded><![CDATA[<p>Hi Gedet, can you post up the code you&#8217;ve used plus a bit of the surrounding code then I can see what you&#8217;ve done and spot any mistakes if there are any. Although, looking at your site code, it doesn&#8217;t look good to start with. You&#8217;ve got images in between list item tags, and your author highlight uses a surrounding div by the looks of things, and not a simple class.</p>
<p>As for my last statement. The code adds a class of &#8216;mycomment&#8217; to the list item, so in your CSS you would then target your comments as the post author by styling li.mycomment in your stylesheet.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gedet basumatary</title>
		<link>http://www.bloggingtips.com/2008/05/25/highlight-your-comments/#comment-153023</link>
		<dc:creator>gedet basumatary</dc:creator>
		<pubDate>Wed, 28 May 2008 18:35:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloggingtips.com/?p=1753#comment-153023</guid>
		<description>Hi Sarah, thanks for sharing this trick. Currently I use plugin to highlight the author comment.
I tried your method, put the code you mention in the 15th line but nothing happen.
and what does the last statement &quot;You can then style the mycomment class in your CSS file to distinguish it.&quot; means???
I really need to put this trick in my blog, would appreciate if you can help thoroughly. 

Thanks
gedet basumatary
http://gedetbasumatary.com</description>
		<content:encoded><![CDATA[<p>Hi Sarah, thanks for sharing this trick. Currently I use plugin to highlight the author comment.<br />
I tried your method, put the code you mention in the 15th line but nothing happen.<br />
and what does the last statement &#8220;You can then style the mycomment class in your CSS file to distinguish it.&#8221; means???<br />
I really need to put this trick in my blog, would appreciate if you can help thoroughly. </p>
<p>Thanks<br />
gedet basumatary<br />
<a href="http://gedetbasumatary.com" rel="nofollow">http://gedetbasumatary.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sarah</title>
		<link>http://www.bloggingtips.com/2008/05/25/highlight-your-comments/#comment-152388</link>
		<dc:creator>Sarah</dc:creator>
		<pubDate>Wed, 28 May 2008 06:57:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloggingtips.com/?p=1753#comment-152388</guid>
		<description>@Aaron - I got it ;)

@Nick - Go for it! And if you get stuck leave a comment here or sign up to the Blogging Tips forum and ask away in there (where you&#039;ll find me to) :)</description>
		<content:encoded><![CDATA[<p>@Aaron &#8211; I got it <img src='http://www.bloggingtips.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>@Nick &#8211; Go for it! And if you get stuck leave a comment here or sign up to the Blogging Tips forum and ask away in there (where you&#8217;ll find me to) <img src='http://www.bloggingtips.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick</title>
		<link>http://www.bloggingtips.com/2008/05/25/highlight-your-comments/#comment-152018</link>
		<dc:creator>Nick</dc:creator>
		<pubDate>Tue, 27 May 2008 23:10:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloggingtips.com/?p=1753#comment-152018</guid>
		<description>I&#039;ve noticed a few sites doing things like this but never really considered doing it myself. Now that the information is staring me in the face I guess I have no excuse not to!</description>
		<content:encoded><![CDATA[<p>I&#8217;ve noticed a few sites doing things like this but never really considered doing it myself. Now that the information is staring me in the face I guess I have no excuse not to!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
