<?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"
	>
<channel>
	<title>Comments on: Wordpress: Is_Child Function</title>
	<atom:link href="http://www.nicholasroussos.com/general/wordpress-is_child-function/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nicholasroussos.com/general/wordpress-is_child-function/</link>
	<description>I like to see my name in hyperlinks.</description>
	<pubDate>Fri, 25 Jul 2008 12:08:18 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>By: Nicholas Roussos</title>
		<link>http://www.nicholasroussos.com/general/wordpress-is_child-function/#comment-2070</link>
		<dc:creator>Nicholas Roussos</dc:creator>
		<pubDate>Sat, 02 Jun 2007 17:46:00 +0000</pubDate>
		<guid isPermaLink="false">http://nicholasroussos.dreamhosters.com/general/wordpress-is_child-function/#comment-2070</guid>
		<description>No problem Mike. I just realized that this function will only detect direct children and not grandchildren (if that makes sense). Basically, you can have a page that's a child of a child of a child. Anyway,I might fix that in the future, but it will only complicate it. The function would probably need to be recursive or something ...</description>
		<content:encoded><![CDATA[<p>No problem Mike. I just realized that this function will only detect direct children and not grandchildren (if that makes sense). Basically, you can have a page that&#8217;s a child of a child of a child. Anyway,I might fix that in the future, but it will only complicate it. The function would probably need to be recursive or something &#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mIKE</title>
		<link>http://www.nicholasroussos.com/general/wordpress-is_child-function/#comment-2069</link>
		<dc:creator>mIKE</dc:creator>
		<pubDate>Fri, 01 Jun 2007 21:46:00 +0000</pubDate>
		<guid isPermaLink="false">http://nicholasroussos.dreamhosters.com/general/wordpress-is_child-function/#comment-2069</guid>
		<description>Thanks!&lt;br/&gt;&lt;br/&gt;I've been looking for something like this all day :S, and this function works great!&lt;br/&gt;&lt;br/&gt;And thanks for responding so quickly.. 3 minutes.&lt;br/&gt;&lt;br/&gt;Kudos Nicholas!</description>
		<content:encoded><![CDATA[<p>Thanks!</p>
<p>I&#8217;ve been looking for something like this all day :S, and this function works great!</p>
<p>And thanks for responding so quickly.. 3 minutes.</p>
<p>Kudos Nicholas!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nicholas Roussos</title>
		<link>http://www.nicholasroussos.com/general/wordpress-is_child-function/#comment-2068</link>
		<dc:creator>Nicholas Roussos</dc:creator>
		<pubDate>Fri, 01 Jun 2007 21:14:00 +0000</pubDate>
		<guid isPermaLink="false">http://nicholasroussos.dreamhosters.com/general/wordpress-is_child-function/#comment-2068</guid>
		<description>if you didn't want to display child pages, you could simply say:&lt;br/&gt;&lt;br/&gt;if (!is_child('parentpageid')) {&lt;br/&gt;//code here&lt;br/&gt;}&lt;br/&gt;&lt;br/&gt;The key thing is ! (not) tells you to only do the code when is_child returns false.</description>
		<content:encoded><![CDATA[<p>if you didn&#8217;t want to display child pages, you could simply say:</p>
<p>if (!is_child(&#8217;parentpageid&#8217;)) {<br />//code here<br />}</p>
<p>The key thing is ! (not) tells you to only do the code when is_child returns false.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mIKE</title>
		<link>http://www.nicholasroussos.com/general/wordpress-is_child-function/#comment-2067</link>
		<dc:creator>mIKE</dc:creator>
		<pubDate>Fri, 01 Jun 2007 21:11:00 +0000</pubDate>
		<guid isPermaLink="false">http://nicholasroussos.dreamhosters.com/general/wordpress-is_child-function/#comment-2067</guid>
		<description>Could this be used in an if statement to not display child pages?&lt;br/&gt;&lt;br/&gt;ex:&lt;br/&gt;&lt;br/&gt;if(is_child('parentpageidhere'))&lt;br/&gt;&lt;br/&gt;I'm looking for something that will not display child pages if you are currently on a child page of a specific parent page.</description>
		<content:encoded><![CDATA[<p>Could this be used in an if statement to not display child pages?</p>
<p>ex:</p>
<p>if(is_child(&#8217;parentpageidhere&#8217;))</p>
<p>I&#8217;m looking for something that will not display child pages if you are currently on a child page of a specific parent page.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
