<?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: Is Category or Subcategory WP Function</title>
	<atom:link href="http://valendesigns.com/wordpress/is-category-or-subcategory-wp-function/feed/" rel="self" type="application/rss+xml" />
	<link>http://valendesigns.com/wordpress/is-category-or-subcategory-wp-function/</link>
	<description>Build Market Empower</description>
	<lastBuildDate>Wed, 29 Feb 2012 03:15:47 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Alex</title>
		<link>http://valendesigns.com/wordpress/is-category-or-subcategory-wp-function/#comment-819</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Thu, 28 Jul 2011 09:54:23 +0000</pubDate>
		<guid isPermaLink="false">http://valendesigns.com/?p=508#comment-819</guid>
		<description>Spot on! Thanks.</description>
		<content:encoded><![CDATA[<p>Spot on! Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: angela</title>
		<link>http://valendesigns.com/wordpress/is-category-or-subcategory-wp-function/#comment-815</link>
		<dc:creator>angela</dc:creator>
		<pubDate>Thu, 23 Jun 2011 21:28:30 +0000</pubDate>
		<guid isPermaLink="false">http://valendesigns.com/?p=508#comment-815</guid>
		<description>thank you! you made my day!</description>
		<content:encoded><![CDATA[<p>thank you! you made my day!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam</title>
		<link>http://valendesigns.com/wordpress/is-category-or-subcategory-wp-function/#comment-813</link>
		<dc:creator>Adam</dc:creator>
		<pubDate>Mon, 30 May 2011 15:14:53 +0000</pubDate>
		<guid isPermaLink="false">http://valendesigns.com/?p=508#comment-813</guid>
		<description>I found this technique to work with slugs, this also works for sub categories that may have the same name as the parent category. For example, having an Audio category within a category also called Audio. This is when using the slug can come in handy.

in_category(&#039;audio-audio&#039;)

Very simple. Hope it helps!</description>
		<content:encoded><![CDATA[<p>I found this technique to work with slugs, this also works for sub categories that may have the same name as the parent category. For example, having an Audio category within a category also called Audio. This is when using the slug can come in handy.</p>
<p>in_category(&#8216;audio-audio&#8217;)</p>
<p>Very simple. Hope it helps!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Toure</title>
		<link>http://valendesigns.com/wordpress/is-category-or-subcategory-wp-function/#comment-812</link>
		<dc:creator>Toure</dc:creator>
		<pubDate>Mon, 30 May 2011 10:50:48 +0000</pubDate>
		<guid isPermaLink="false">http://valendesigns.com/?p=508#comment-812</guid>
		<description>Great code!
but in some how one of my category was messing when is_home so because I didn&#039;t have enough at the moment I had to hack it by putting is_category_or_sub() &amp;&amp; !is_home().
That worked as a charm.</description>
		<content:encoded><![CDATA[<p>Great code!<br />
but in some how one of my category was messing when is_home so because I didn&#8217;t have enough at the moment I had to hack it by putting is_category_or_sub() &amp;&amp; !is_home().<br />
That worked as a charm.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Derek Herman</title>
		<link>http://valendesigns.com/wordpress/is-category-or-subcategory-wp-function/#comment-807</link>
		<dc:creator>Derek Herman</dc:creator>
		<pubDate>Thu, 10 Mar 2011 19:14:25 +0000</pubDate>
		<guid isPermaLink="false">http://valendesigns.com/?p=508#comment-807</guid>
		<description>Sorry, it&#039;s not set up for arrays. It could be though.</description>
		<content:encoded><![CDATA[<p>Sorry, it&#8217;s not set up for arrays. It could be though.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: João Sardinha</title>
		<link>http://valendesigns.com/wordpress/is-category-or-subcategory-wp-function/#comment-806</link>
		<dc:creator>João Sardinha</dc:creator>
		<pubDate>Thu, 10 Mar 2011 12:41:22 +0000</pubDate>
		<guid isPermaLink="false">http://valendesigns.com/?p=508#comment-806</guid>
		<description>Derek, is it possible to have multiple ids in the function? like is_category_or_sub(&#039;20,7&#039;)
Thank you</description>
		<content:encoded><![CDATA[<p>Derek, is it possible to have multiple ids in the function? like is_category_or_sub(&#8216;20,7&#8242;)<br />
Thank you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: João Sardinha</title>
		<link>http://valendesigns.com/wordpress/is-category-or-subcategory-wp-function/#comment-805</link>
		<dc:creator>João Sardinha</dc:creator>
		<pubDate>Tue, 01 Mar 2011 15:37:54 +0000</pubDate>
		<guid isPermaLink="false">http://valendesigns.com/?p=508#comment-805</guid>
		<description>Dude, huge thank&#039;s, this is what i was  needing, im glad i found your website, thank you thank you thank you ;)</description>
		<content:encoded><![CDATA[<p>Dude, huge thank&#8217;s, this is what i was  needing, im glad i found your website, thank you thank you thank you ;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul</title>
		<link>http://valendesigns.com/wordpress/is-category-or-subcategory-wp-function/#comment-801</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Thu, 17 Feb 2011 18:36:53 +0000</pubDate>
		<guid isPermaLink="false">http://valendesigns.com/?p=508#comment-801</guid>
		<description>Thank you so much!  
Would it be possible to do something like this:

(is_category_or_sub(Highest Level Category ID In the current hierarchy))

In other words,  We have 5 root level categories, each of those 5 have 5 subcategories and each of those have another 5 sub SUBcacegories.  Would it be possible to retrieve the root level&#039;s subcategoreis and display those on a single page.

Hope that makes sense!

Thanks again</description>
		<content:encoded><![CDATA[<p>Thank you so much!<br />
Would it be possible to do something like this:</p>
<p>(is_category_or_sub(Highest Level Category ID In the current hierarchy))</p>
<p>In other words,  We have 5 root level categories, each of those 5 have 5 subcategories and each of those have another 5 sub SUBcacegories.  Would it be possible to retrieve the root level&#8217;s subcategoreis and display those on a single page.</p>
<p>Hope that makes sense!</p>
<p>Thanks again</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: stof</title>
		<link>http://valendesigns.com/wordpress/is-category-or-subcategory-wp-function/#comment-800</link>
		<dc:creator>stof</dc:creator>
		<pubDate>Thu, 10 Feb 2011 13:58:20 +0000</pubDate>
		<guid isPermaLink="false">http://valendesigns.com/?p=508#comment-800</guid>
		<description>Thanks for this function.
to Check for a Category or Subcategory (Using the Slug)
http://www.jeangalea.com/wordpress/check-category-subcategory-slug/</description>
		<content:encoded><![CDATA[<p>Thanks for this function.<br />
to Check for a Category or Subcategory (Using the Slug)<br />
<a href="http://www.jeangalea.com/wordpress/check-category-subcategory-slug/" rel="nofollow">http://www.jeangalea.com/wordpress/check-category-subcategory-slug/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Useful Links &#171; Milap Patel</title>
		<link>http://valendesigns.com/wordpress/is-category-or-subcategory-wp-function/#comment-799</link>
		<dc:creator>Useful Links &#171; Milap Patel</dc:creator>
		<pubDate>Thu, 10 Feb 2011 05:59:41 +0000</pubDate>
		<guid isPermaLink="false">http://valendesigns.com/?p=508#comment-799</guid>
		<description>[...] http://valendesigns.com/wordpress/is-category-or-subcategory-wp-function/ [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://valendesigns.com/wordpress/is-category-or-subcategory-wp-function/" rel="nofollow">http://valendesigns.com/wordpress/is-category-or-subcategory-wp-function/</a> [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

