<?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>Blog Themes, Blog Design &#38; Daily Blog Tips</description>
	<lastBuildDate>Wed, 08 Feb 2012 15:16:10 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<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 13: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 05: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 05: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&#39;ve fixed Behrad&#39;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&#39;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 04: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, </p>
<p>This doesn&#39;t seem to work.. I&#39;ve changed the second line to what you suggested but I don&#39;t understand the second part&#8230;.</p>
<p>Do I have to insert this line =&gt; ?</p>
<p>If so, where do I have to insert it.. </p>
<p>And in my Stylesheet I still have this:</p>
<p>&#8211;</p>
<p>div.mycomment {</p>
<p>clear: both;</p>
<p>width: 98%;</p>
<p>background: #73BE1E;</p>
<p>padding: 4px;</p>
<p>margin-bottom: 8px;</p>
<p>}</p>
<p>&#8211;</p>
<p>Do I need to change this or what? </p>
<p>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 02: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>&lt;code&gt;&lt;div class=&quot;comment&quot;&gt;&lt;/code&gt;</p>
<p>to</p>
<p>&lt;code&gt;&lt;div class=&quot;comment&lt;?php if ($comment-&gt;user_id == get_the_author_ID()) echo &#39; mycomment&#39;; ?&gt;&quot;&gt;&lt;/code&gt;</p>
<p>Which should then give you the output for your own comments as</p>
<p>&lt;code&gt;&lt;div class=&quot;comment mycomment&quot;&gt;&lt;/code&gt;</p>
<p>As you&#39;ve already got a class attribute in the div my original code has been altered slightly as you don&#39;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 16: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:   &lt;a href=&quot;http://www.bioteck.net/comments.txt&quot; rel=&quot;nofollow&quot;&gt;http://www.bioteck.net/comments.txt&lt;/a&gt; </description>
		<content:encoded><![CDATA[<p>Hmmm..Sorry! </p>
<p>I see that I can&#39;t insert the relevant code in my comment so I&#39;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 16: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; rel=&quot;nofollow&quot;&gt;&lt;/a&gt;&lt;/strong&gt; wrote on  -   
		 
 
 
			 
		 
 
			 
	 
		 
	 
-- 
I hope this will help... </description>
		<content:encoded><![CDATA[<p>Sarah, </p>
<p>I have tried what you wrote, but I can&#39;t get it working..  <img src='http://www.bloggingtips.com/wp-includes/images/smilies/icon_confused.gif' alt=':???:' class='wp-smiley' />  </p>
<p>I&#39;ve added the code like this:</p>
<p>&lt;div class=&quot;comment&quot;user_id == get_the_author_ID()) echo &#39; class=&quot;mycomment&quot;&#39;; ?&gt;&gt;</p>
<p>and then styled the div.mycomment (I copied my div.comment elements and only changed the background colour) like this:</p>
<p>div.mycomment {</p>
<p>	clear: both;</p>
<p>	width: 98%;</p>
<p>	background: #73BE1E;</p>
<p>	padding: 4px;</p>
<p>	margin-bottom: 8px;</p>
<p>}</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' />  </p>
<p>Here&#39;s the relevant code of my comments.php:</p>
<p>&#8211;</p>
<p>		&lt;a name=&quot;comment-&quot; id=&quot;comment-&quot; &gt;</p>
<p>		comment_approved == &#39;0&#39;) : ?&gt;</p>
<p>			 Thank you for your comment. Your comment is now awaiting moderation.</p>
<p>			<strong><a href="" rel="nofollow"></a></strong> wrote on  &#8211;  </p>
<p>&#8211;</p>
<p>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 16: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&#39;ve put the code I posted above) I can&#39;t say for certain why it&#39;s not working however my guess would be that it&#39;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>&lt;code&gt;&lt;div class=&quot;comment&quot;&gt;&lt;/code&gt;</p>
<p>This is what you would need to find in your comments.php file and then add</p>
<p>&lt;code&gt;&lt;?php if ($comment-&gt;user_id == get_the_author_ID()) echo &#39; mycomment&#39;; ?&gt;&lt;/code&gt;</p>
<p>Before the second double quote. Then in your CSS stylesheet you would style div.mycomment.</p>
<p>If that doesn&#39;t make sense then you&#39;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 13: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. </p>
<p>I put the code you mention in my comment.php instead of the &quot;old&quot; code.</p>
<p>Then I put li.mycomment in my css and styled it, but then again nothing happend. </p>
<p>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 15: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&#39;ve used plus a bit of the surrounding code then I can see what you&#39;ve done and spot any mistakes if there are any. Although, looking at your site code, it doesn&#39;t look good to start with. You&#39;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 &#39;mycomment&#39; 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 13: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  &lt;a href=&quot;http://gedetbasumatary.com&quot; rel=&quot;nofollow&quot;&gt;http://gedetbasumatary.com&lt;/a&gt; </description>
		<content:encoded><![CDATA[<p>Hi Sarah, thanks for sharing this trick. Currently I use plugin to highlight the author comment.</p>
<p>I tried your method, put the code you mention in the 15th line but nothing happen.</p>
<p>and what does the last statement &quot;You can then style the mycomment class in your CSS file to distinguish it.&quot; means???</p>
<p>I really need to put this trick in my blog, would appreciate if you can help thoroughly. </p>
<p>Thanks</p>
<p>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 01: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&#39;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 18: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&#39;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>

