<?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: Using PHP to alternate background colors for comments or posts in WordPress</title>
	<atom:link href="http://wpgarage.com/code-snippets/using-php-to-alternate-background-colors-for-comments-or-posts-in-wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://wpgarage.com/code-snippets/using-php-to-alternate-background-colors-for-comments-or-posts-in-wordpress/</link>
	<description>wordpress tricks, hacks, and tips</description>
	<lastBuildDate>Wed, 09 May 2012 06:53:59 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: Stig</title>
		<link>http://wpgarage.com/code-snippets/using-php-to-alternate-background-colors-for-comments-or-posts-in-wordpress/#comment-63603</link>
		<dc:creator>Stig</dc:creator>
		<pubDate>Tue, 13 Mar 2012 04:27:16 +0000</pubDate>
		<guid isPermaLink="false">http://wordpressgarage.com/code-snippets/using-php-to-alternate-background-colors-for-comments-or-posts-in-wordpress/#comment-63603</guid>
		<description>Love this trick! Do you think it can it be modified to work with 4 different classes as opposed to 2?</description>
		<content:encoded><![CDATA[<p>Love this trick! Do you think it can it be modified to work with 4 different classes as opposed to 2?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: seo</title>
		<link>http://wpgarage.com/code-snippets/using-php-to-alternate-background-colors-for-comments-or-posts-in-wordpress/#comment-63234</link>
		<dc:creator>seo</dc:creator>
		<pubDate>Tue, 31 Jan 2012 17:59:00 +0000</pubDate>
		<guid isPermaLink="false">http://wordpressgarage.com/code-snippets/using-php-to-alternate-background-colors-for-comments-or-posts-in-wordpress/#comment-63234</guid>
		<description>With havin so much content and articles do you ever run into any problems of plagorism or copyright violation? My website has a lot of unique content I&#039;ve either written myself or outsourced but it appears a lot of it is popping it up all over the web without my agreement. Do you know any methods to help stop content from being ripped off? I&#039;d really appreciate it.</description>
		<content:encoded><![CDATA[<p>With havin so much content and articles do you ever run into any problems of plagorism or copyright violation? My website has a lot of unique content I&#8217;ve either written myself or outsourced but it appears a lot of it is popping it up all over the web without my agreement. Do you know any methods to help stop content from being ripped off? I&#8217;d really appreciate it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mallow</title>
		<link>http://wpgarage.com/code-snippets/using-php-to-alternate-background-colors-for-comments-or-posts-in-wordpress/#comment-63223</link>
		<dc:creator>mallow</dc:creator>
		<pubDate>Thu, 12 Jan 2012 09:06:36 +0000</pubDate>
		<guid isPermaLink="false">http://wordpressgarage.com/code-snippets/using-php-to-alternate-background-colors-for-comments-or-posts-in-wordpress/#comment-63223</guid>
		<description>this is great! very helpful. thanks!</description>
		<content:encoded><![CDATA[<p>this is great! very helpful. thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: US Realtime Jobs</title>
		<link>http://wpgarage.com/code-snippets/using-php-to-alternate-background-colors-for-comments-or-posts-in-wordpress/#comment-63207</link>
		<dc:creator>US Realtime Jobs</dc:creator>
		<pubDate>Sat, 17 Dec 2011 16:56:17 +0000</pubDate>
		<guid isPermaLink="false">http://wordpressgarage.com/code-snippets/using-php-to-alternate-background-colors-for-comments-or-posts-in-wordpress/#comment-63207</guid>
		<description>We have use this code.. thanks for share...</description>
		<content:encoded><![CDATA[<p>We have use this code.. thanks for share&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: professional table saw</title>
		<link>http://wpgarage.com/code-snippets/using-php-to-alternate-background-colors-for-comments-or-posts-in-wordpress/#comment-62692</link>
		<dc:creator>professional table saw</dc:creator>
		<pubDate>Mon, 01 Aug 2011 13:03:07 +0000</pubDate>
		<guid isPermaLink="false">http://wordpressgarage.com/code-snippets/using-php-to-alternate-background-colors-for-comments-or-posts-in-wordpress/#comment-62692</guid>
		<description>Hey - fine blog, simply looking around lots of blogs, seems a quite pleasant platform you are using. I&#039;m currently using Wordpress for a few of my sites but aiming to change one out of them over to a platform similar to yours as a trial run. Anything in particular you&#039;d recommend about it?</description>
		<content:encoded><![CDATA[<p>Hey &#8211; fine blog, simply looking around lots of blogs, seems a quite pleasant platform you are using. I&#8217;m currently using WordPress for a few of my sites but aiming to change one out of them over to a platform similar to yours as a trial run. Anything in particular you&#8217;d recommend about it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: yokser</title>
		<link>http://wpgarage.com/code-snippets/using-php-to-alternate-background-colors-for-comments-or-posts-in-wordpress/#comment-62167</link>
		<dc:creator>yokser</dc:creator>
		<pubDate>Sun, 20 Feb 2011 17:45:12 +0000</pubDate>
		<guid isPermaLink="false">http://wordpressgarage.com/code-snippets/using-php-to-alternate-background-colors-for-comments-or-posts-in-wordpress/#comment-62167</guid>
		<description>how to adapted for nested comment??</description>
		<content:encoded><![CDATA[<p>how to adapted for nested comment??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stupid WordPress Tricks&#160;&#124;&#160;Serita</title>
		<link>http://wpgarage.com/code-snippets/using-php-to-alternate-background-colors-for-comments-or-posts-in-wordpress/#comment-60672</link>
		<dc:creator>Stupid WordPress Tricks&#160;&#124;&#160;Serita</dc:creator>
		<pubDate>Thu, 03 Dec 2009 08:11:10 +0000</pubDate>
		<guid isPermaLink="false">http://wordpressgarage.com/code-snippets/using-php-to-alternate-background-colors-for-comments-or-posts-in-wordpress/#comment-60672</guid>
		<description>[...] Credit: WordPress Garage [...]</description>
		<content:encoded><![CDATA[<p>[...] Credit: WordPress Garage [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hedon</title>
		<link>http://wpgarage.com/code-snippets/using-php-to-alternate-background-colors-for-comments-or-posts-in-wordpress/#comment-60305</link>
		<dc:creator>Hedon</dc:creator>
		<pubDate>Sun, 13 Sep 2009 17:16:00 +0000</pubDate>
		<guid isPermaLink="false">http://wordpressgarage.com/code-snippets/using-php-to-alternate-background-colors-for-comments-or-posts-in-wordpress/#comment-60305</guid>
		<description>Is there a way to do the same thing with the widgets on your sidebar? I was thinking that our sidebar would look much cleaner if each widget had an alternating background color, but I&#039;m not sure it is possible.</description>
		<content:encoded><![CDATA[<p>Is there a way to do the same thing with the widgets on your sidebar? I was thinking that our sidebar would look much cleaner if each widget had an alternating background color, but I&#8217;m not sure it is possible.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://wpgarage.com/code-snippets/using-php-to-alternate-background-colors-for-comments-or-posts-in-wordpress/#comment-60257</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Tue, 18 Aug 2009 15:18:46 +0000</pubDate>
		<guid isPermaLink="false">http://wordpressgarage.com/code-snippets/using-php-to-alternate-background-colors-for-comments-or-posts-in-wordpress/#comment-60257</guid>
		<description>Actually this does NOT work with Wordpress themes that use the &lt;strong&gt;updated comments loop available since 2.7&lt;/strong&gt;. The new comments loop starts with &lt;?php if ( have_comments() ) : ?&gt; rather than &lt;code&gt;&lt;?php if ( $comments ) : ?&gt;&lt;/code&gt;
The new loop is needed if you are going to use paged comments or threaded comments.
So...Anybody have success alternating background colors for comments using the new Wordpress Comments Loop? It&#039;s driving me crazy...
 </description>
		<content:encoded><![CDATA[<p>Actually this does NOT work with WordPress themes that use the <strong>updated comments loop available since 2.7</strong>. The new comments loop starts with &lt;?php if ( have_comments() ) : ?&gt; rather than <code>&lt;?php if ( $comments ) : ?&gt;</code><br />
The new loop is needed if you are going to use paged comments or threaded comments.<br />
So&#8230;Anybody have success alternating background colors for comments using the new WordPress Comments Loop? It&#8217;s driving me crazy&#8230;<br />
 </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jim</title>
		<link>http://wpgarage.com/code-snippets/using-php-to-alternate-background-colors-for-comments-or-posts-in-wordpress/#comment-60143</link>
		<dc:creator>Jim</dc:creator>
		<pubDate>Mon, 13 Jul 2009 07:07:38 +0000</pubDate>
		<guid isPermaLink="false">http://wordpressgarage.com/code-snippets/using-php-to-alternate-background-colors-for-comments-or-posts-in-wordpress/#comment-60143</guid>
		<description>How can we integrate this with the Title area that each post has. This was we could have 2 colors for each post, odd or even.</description>
		<content:encoded><![CDATA[<p>How can we integrate this with the Title area that each post has. This was we could have 2 colors for each post, odd or even.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

