<?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, 10 Mar 2010 15:23:27 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<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-page-1/#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-page-1/#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-page-1/#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-page-1/#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>
	<item>
		<title>By: Voya</title>
		<link>http://wpgarage.com/code-snippets/using-php-to-alternate-background-colors-for-comments-or-posts-in-wordpress/comment-page-1/#comment-60006</link>
		<dc:creator>Voya</dc:creator>
		<pubDate>Thu, 04 Jun 2009 10:52:35 +0000</pubDate>
		<guid isPermaLink="false">http://wordpressgarage.com/code-snippets/using-php-to-alternate-background-colors-for-comments-or-posts-in-wordpress/#comment-60006</guid>
		<description>Just tested - works sweet with 2.7 :)

Thanks a million!</description>
		<content:encoded><![CDATA[<p>Just tested &#8211; works sweet with 2.7 <img src='http://wpgarage.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Thanks a million!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eligio</title>
		<link>http://wpgarage.com/code-snippets/using-php-to-alternate-background-colors-for-comments-or-posts-in-wordpress/comment-page-1/#comment-57702</link>
		<dc:creator>Eligio</dc:creator>
		<pubDate>Sat, 09 May 2009 10:30:29 +0000</pubDate>
		<guid isPermaLink="false">http://wordpressgarage.com/code-snippets/using-php-to-alternate-background-colors-for-comments-or-posts-in-wordpress/#comment-57702</guid>
		<description>I also want to know how to do it with wp2.7. thanks</description>
		<content:encoded><![CDATA[<p>I also want to know how to do it with wp2.7. thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan</title>
		<link>http://wpgarage.com/code-snippets/using-php-to-alternate-background-colors-for-comments-or-posts-in-wordpress/comment-page-1/#comment-56317</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Fri, 01 May 2009 08:19:40 +0000</pubDate>
		<guid isPermaLink="false">http://wordpressgarage.com/code-snippets/using-php-to-alternate-background-colors-for-comments-or-posts-in-wordpress/#comment-56317</guid>
		<description>@Kangourou pas sympa - Yep, it works with 2.7.</description>
		<content:encoded><![CDATA[<p>@Kangourou pas sympa &#8211; Yep, it works with 2.7.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kangourou pas sympa</title>
		<link>http://wpgarage.com/code-snippets/using-php-to-alternate-background-colors-for-comments-or-posts-in-wordpress/comment-page-1/#comment-55530</link>
		<dc:creator>Kangourou pas sympa</dc:creator>
		<pubDate>Mon, 27 Apr 2009 16:55:35 +0000</pubDate>
		<guid isPermaLink="false">http://wordpressgarage.com/code-snippets/using-php-to-alternate-background-colors-for-comments-or-posts-in-wordpress/#comment-55530</guid>
		<description>&lt;strong&gt;Does &quot;&lt;/strong&gt;&lt;strong&gt;Alternating Comments Styles&quot;  work with wordpress 2.7 ?
Because I tried without succes.
Thank you in advance.
&lt;/strong&gt;</description>
		<content:encoded><![CDATA[<p><strong>Does &#8220;</strong><strong>Alternating Comments Styles&#8221;  work with wordpress 2.7 ?<br />
Because I tried without succes.<br />
Thank you in advance.<br />
</strong></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sean C</title>
		<link>http://wpgarage.com/code-snippets/using-php-to-alternate-background-colors-for-comments-or-posts-in-wordpress/comment-page-1/#comment-53434</link>
		<dc:creator>Sean C</dc:creator>
		<pubDate>Fri, 17 Apr 2009 02:34:06 +0000</pubDate>
		<guid isPermaLink="false">http://wordpressgarage.com/code-snippets/using-php-to-alternate-background-colors-for-comments-or-posts-in-wordpress/#comment-53434</guid>
		<description>Awesome post! This has really helped. Thanks</description>
		<content:encoded><![CDATA[<p>Awesome post! This has really helped. Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fred</title>
		<link>http://wpgarage.com/code-snippets/using-php-to-alternate-background-colors-for-comments-or-posts-in-wordpress/comment-page-1/#comment-20985</link>
		<dc:creator>Fred</dc:creator>
		<pubDate>Mon, 17 Nov 2008 02:55:08 +0000</pubDate>
		<guid isPermaLink="false">http://wordpressgarage.com/code-snippets/using-php-to-alternate-background-colors-for-comments-or-posts-in-wordpress/#comment-20985</guid>
		<description>WOW! Thanks!</description>
		<content:encoded><![CDATA[<p>WOW! Thanks!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
