<?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: Playing with WordPress Categories</title>
	<atom:link href="http://www.elliotswan.com/2006/05/05/playing-with-wordpress-get_the_category/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.elliotswan.com/2006/05/05/playing-with-wordpress-get_the_category/</link>
	<description>designs stuff and writes code.</description>
	<lastBuildDate>Tue, 27 Jul 2010 16:02:00 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Emily Williams</title>
		<link>http://www.elliotswan.com/2006/05/05/playing-with-wordpress-get_the_category/comment-page-1/#comment-215939</link>
		<dc:creator>Emily Williams</dc:creator>
		<pubDate>Tue, 25 May 2010 18:34:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.elliotswan.com/2006/05/05/playing-with-wordpress-get_the_category/#comment-215939</guid>
		<description>i am not a fan of having credits and getting credits cards.:&#039;:</description>
		<content:encoded><![CDATA[<p>i am not a fan of having credits and getting credits cards.:&#8217;:</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dad</title>
		<link>http://www.elliotswan.com/2006/05/05/playing-with-wordpress-get_the_category/comment-page-1/#comment-215602</link>
		<dc:creator>Dad</dc:creator>
		<pubDate>Sat, 22 May 2010 23:24:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.elliotswan.com/2006/05/05/playing-with-wordpress-get_the_category/#comment-215602</guid>
		<description>Interesting info you posted at my blog. I’ll keep an eye on your upcoming posts,Aastha</description>
		<content:encoded><![CDATA[<p>Interesting info you posted at my blog. I’ll keep an eye on your upcoming posts,Aastha</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joseph Wright</title>
		<link>http://www.elliotswan.com/2006/05/05/playing-with-wordpress-get_the_category/comment-page-1/#comment-214191</link>
		<dc:creator>Joseph Wright</dc:creator>
		<pubDate>Tue, 11 May 2010 18:40:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.elliotswan.com/2006/05/05/playing-with-wordpress-get_the_category/#comment-214191</guid>
		<description>My credit score last year got lower because i have some unpaid bills on my credit card company and i also lost my job..&quot;;</description>
		<content:encoded><![CDATA[<p>My credit score last year got lower because i have some unpaid bills on my credit card company and i also lost my job..&#8221;;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Isaac Harrison</title>
		<link>http://www.elliotswan.com/2006/05/05/playing-with-wordpress-get_the_category/comment-page-1/#comment-214180</link>
		<dc:creator>Isaac Harrison</dc:creator>
		<pubDate>Tue, 11 May 2010 14:12:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.elliotswan.com/2006/05/05/playing-with-wordpress-get_the_category/#comment-214180</guid>
		<description>My credit score last year got lower because i have some unpaid bills on my credit card company and i also lost my job.`;;</description>
		<content:encoded><![CDATA[<p>My credit score last year got lower because i have some unpaid bills on my credit card company and i also lost my job.`;;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Car insurance claims &#62;&#62; http://onlinecarinsuranceclaims.com/</title>
		<link>http://www.elliotswan.com/2006/05/05/playing-with-wordpress-get_the_category/comment-page-1/#comment-196718</link>
		<dc:creator>Car insurance claims &#62;&#62; http://onlinecarinsuranceclaims.com/</dc:creator>
		<pubDate>Mon, 23 Nov 2009 21:24:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.elliotswan.com/2006/05/05/playing-with-wordpress-get_the_category/#comment-196718</guid>
		<description>[... - www.elliotswan.com is other useful authority of advice. Online Car insurance claims  [... -</description>
		<content:encoded><![CDATA[<p>[... - <a href="http://www.elliotswan.com" rel="nofollow">http://www.elliotswan.com</a> is other useful authority of advice. Online Car insurance claims  [&#8230; -</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott</title>
		<link>http://www.elliotswan.com/2006/05/05/playing-with-wordpress-get_the_category/comment-page-1/#comment-168903</link>
		<dc:creator>Scott</dc:creator>
		<pubDate>Tue, 10 Mar 2009 19:42:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.elliotswan.com/2006/05/05/playing-with-wordpress-get_the_category/#comment-168903</guid>
		<description>This article is helping me get very close to what I want to accomplish, thanks.  Is there a way to have the li class call the cat_ID of the Parent Category?</description>
		<content:encoded><![CDATA[<p>This article is helping me get very close to what I want to accomplish, thanks.  Is there a way to have the li class call the cat_ID of the Parent Category?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Elliot Swan</title>
		<link>http://www.elliotswan.com/2006/05/05/playing-with-wordpress-get_the_category/comment-page-1/#comment-164057</link>
		<dc:creator>Elliot Swan</dc:creator>
		<pubDate>Fri, 30 Jan 2009 17:27:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.elliotswan.com/2006/05/05/playing-with-wordpress-get_the_category/#comment-164057</guid>
		<description>That&#039;s an interesting problem. Unfortunately, get_the_category doesn&#039;t have a way to do that. However, &lt;a href=&quot;http://codex.wordpress.org/Template_Tags/wp_list_categories&quot; rel=&quot;nofollow&quot;&gt;wp_list_categories&lt;/a&gt; does. The problem with wp_list_categories, though, is that it shows everything and not just what the current post is under.

The only way I can see of doing it is by combining the two, so you use get_the_category() to find the post IDs then run those through wp_list_categories. Ugly, but I think it would work.</description>
		<content:encoded><![CDATA[<p>That&#8217;s an interesting problem. Unfortunately, get_the_category doesn&#8217;t have a way to do that. However, <a href="http://codex.wordpress.org/Template_Tags/wp_list_categories" rel="nofollow">wp_list_categories</a> does. The problem with wp_list_categories, though, is that it shows everything and not just what the current post is under.</p>
<p>The only way I can see of doing it is by combining the two, so you use get_the_category() to find the post IDs then run those through wp_list_categories. Ugly, but I think it would work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andres</title>
		<link>http://www.elliotswan.com/2006/05/05/playing-with-wordpress-get_the_category/comment-page-1/#comment-164036</link>
		<dc:creator>Andres</dc:creator>
		<pubDate>Fri, 30 Jan 2009 12:40:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.elliotswan.com/2006/05/05/playing-with-wordpress-get_the_category/#comment-164036</guid>
		<description>Elliot, thanks for the tips. My question is:

&lt;code&gt;
&lt;?php foreach((get_the_category()) as $cat) {
echo &#039;&lt;a&gt;category_nicename . &#039;&quot;&gt;&#039; . $cat-&gt;cat_name .
&#039;&lt;/a&gt;&#039;;
}
?&gt;
&lt;/code&lt;


If i want to display the child of the categories or category how make it work? 

Very thanks in advance!&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Elliot, thanks for the tips. My question is:</p>
<p><code><br />
&lt;?php foreach((get_the_category()) as $cat) {<br />
echo '<a>category_nicename . '"&gt;' . $cat-&gt;cat_name .<br />
'</a>';<br />
}<br />
?&gt;<br />
&lt;/code&lt;</p>
<p>If i want to display the child of the categories or category how make it work? </p>
<p>Very thanks in advance!</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amina</title>
		<link>http://www.elliotswan.com/2006/05/05/playing-with-wordpress-get_the_category/comment-page-1/#comment-157230</link>
		<dc:creator>Amina</dc:creator>
		<pubDate>Thu, 06 Nov 2008 02:51:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.elliotswan.com/2006/05/05/playing-with-wordpress-get_the_category/#comment-157230</guid>
		<description>I recommend to subscribe to RSS place in a conspicuous place! Readers will be more! Especially at a blog, how are you! Tested - a 30% increased the number of subscribers!</description>
		<content:encoded><![CDATA[<p>I recommend to subscribe to RSS place in a conspicuous place! Readers will be more! Especially at a blog, how are you! Tested &#8211; a 30% increased the number of subscribers!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SEO Binh Nguyen</title>
		<link>http://www.elliotswan.com/2006/05/05/playing-with-wordpress-get_the_category/comment-page-1/#comment-147846</link>
		<dc:creator>SEO Binh Nguyen</dc:creator>
		<pubDate>Sun, 21 Sep 2008 16:16:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.elliotswan.com/2006/05/05/playing-with-wordpress-get_the_category/#comment-147846</guid>
		<description>Thank you.

This is great stuff. I&#039;m working on getting some effect the same as get_the_category() on the sidebar. I want to display most recent posts, most viewed posts, belonging to the category of the current post/category. This shall be done for &lt;a href=&quot;http://apmart.com&quot; rel=&quot;nofollow&quot;&gt;Discount Shopping @ apmart.com&lt;/a&gt;

But so far no hope because even when I declare variable 
$category = get_the_category()

inside the loop, when it come to the sidebar it&#039;s totally gone.

Do you have any idea how to solve this problem?

BTW, Do you moderate your blog comments? I see alot of spams on this page.

Thanks in advance.</description>
		<content:encoded><![CDATA[<p>Thank you.</p>
<p>This is great stuff. I&#8217;m working on getting some effect the same as get_the_category() on the sidebar. I want to display most recent posts, most viewed posts, belonging to the category of the current post/category. This shall be done for <a href="http://apmart.com" rel="nofollow">Discount Shopping @ apmart.com</a></p>
<p>But so far no hope because even when I declare variable<br />
$category = get_the_category()</p>
<p>inside the loop, when it come to the sidebar it&#8217;s totally gone.</p>
<p>Do you have any idea how to solve this problem?</p>
<p>BTW, Do you moderate your blog comments? I see alot of spams on this page.</p>
<p>Thanks in advance.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
