<?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: WordPress Conditional Tags : If Page Parent &amp; Children</title>
	<atom:link href="http://www.insitewebsitedesign.com/wordpress-conditional-tags-if-page-parent-and-children/feed" rel="self" type="application/rss+xml" />
	<link>http://www.insitewebsitedesign.com/wordpress-conditional-tags-if-page-parent-and-children</link>
	<description></description>
	<lastBuildDate>Fri, 02 Dec 2011 08:13:33 -0600</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Thomas</title>
		<link>http://www.insitewebsitedesign.com/wordpress-conditional-tags-if-page-parent-and-children/comment-page-1#comment-275</link>
		<dc:creator>Thomas</dc:creator>
		<pubDate>Wed, 14 Sep 2011 16:32:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.insitewebsitedesign.com/?p=764#comment-275</guid>
		<description>Excellent snippet!  Thanks for this.  I expanded it a bit using elseif , and did exactly what I needed.  


post_parent==&quot;41&quot;) { ?&gt;
		&lt;!--HTML code--&gt;

		post_parent==&quot;43&quot;) { ?&gt;
		&lt;!--HTML code--&gt;

		post_parent==&quot;45&quot;) { ?&gt;
		&lt;!--HTML code--&gt;

		
		&lt;!--Default HTML code--&gt;&quot;

		 

I used this to change a heading image based on page/parent by determining the parent, then inserting the correct class.</description>
		<content:encoded><![CDATA[<p>Excellent snippet!  Thanks for this.  I expanded it a bit using elseif , and did exactly what I needed.  </p>
<p>post_parent==&#8221;41&#8243;) { ?&gt;<br />
		<!--HTML code--></p>
<p>		post_parent==&#8221;43&#8243;) { ?&gt;<br />
		<!--HTML code--></p>
<p>		post_parent==&#8221;45&#8243;) { ?&gt;<br />
		<!--HTML code--></p>
<p>		<!--Default HTML code-->&#8221;</p>
<p>I used this to change a heading image based on page/parent by determining the parent, then inserting the correct class.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marketta Marchal</title>
		<link>http://www.insitewebsitedesign.com/wordpress-conditional-tags-if-page-parent-and-children/comment-page-1#comment-240</link>
		<dc:creator>Marketta Marchal</dc:creator>
		<pubDate>Wed, 13 Apr 2011 14:26:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.insitewebsitedesign.com/?p=764#comment-240</guid>
		<description>Nicely written and I really love your style and design - did you do it all yourself?</description>
		<content:encoded><![CDATA[<p>Nicely written and I really love your style and design &#8211; did you do it all yourself?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kirstin Maglione</title>
		<link>http://www.insitewebsitedesign.com/wordpress-conditional-tags-if-page-parent-and-children/comment-page-1#comment-239</link>
		<dc:creator>Kirstin Maglione</dc:creator>
		<pubDate>Tue, 12 Apr 2011 01:06:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.insitewebsitedesign.com/?p=764#comment-239</guid>
		<description>Adore this article. Where did you uncover these details?</description>
		<content:encoded><![CDATA[<p>Adore this article. Where did you uncover these details?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JaRo</title>
		<link>http://www.insitewebsitedesign.com/wordpress-conditional-tags-if-page-parent-and-children/comment-page-1#comment-149</link>
		<dc:creator>JaRo</dc:creator>
		<pubDate>Thu, 13 May 2010 12:30:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.insitewebsitedesign.com/?p=764#comment-149</guid>
		<description>Thanks a lot</description>
		<content:encoded><![CDATA[<p>Thanks a lot</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: HABA Baby</title>
		<link>http://www.insitewebsitedesign.com/wordpress-conditional-tags-if-page-parent-and-children/comment-page-1#comment-119</link>
		<dc:creator>HABA Baby</dc:creator>
		<pubDate>Tue, 23 Mar 2010 13:41:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.insitewebsitedesign.com/?p=764#comment-119</guid>
		<description>I notice a fantastic development in your writing, I would like to have in touch. Maintain the good operate! Your composing is really inspirational for someone who is new to this type of stuff.</description>
		<content:encoded><![CDATA[<p>I notice a fantastic development in your writing, I would like to have in touch. Maintain the good operate! Your composing is really inspirational for someone who is new to this type of stuff.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scripto</title>
		<link>http://www.insitewebsitedesign.com/wordpress-conditional-tags-if-page-parent-and-children/comment-page-1#comment-99</link>
		<dc:creator>Scripto</dc:creator>
		<pubDate>Tue, 08 Dec 2009 08:54:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.insitewebsitedesign.com/?p=764#comment-99</guid>
		<description>Excellent post..Keep them coming :) Thanks for sharing.</description>
		<content:encoded><![CDATA[<p>Excellent post..Keep them coming <img src='http://www.insitewebsitedesign.com/insitewebsitedesign/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Thanks for sharing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gabi</title>
		<link>http://www.insitewebsitedesign.com/wordpress-conditional-tags-if-page-parent-and-children/comment-page-1#comment-88</link>
		<dc:creator>Gabi</dc:creator>
		<pubDate>Mon, 13 Jul 2009 19:38:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.insitewebsitedesign.com/?p=764#comment-88</guid>
		<description>This could be very handy.

I am trying to create/use bespoke templates depending on it&#039;s &#039;page&#039; and it&#039;s &#039;children&#039; there are some ways of doing this, however, to complicated and long winded for me.

Wish it had this functionality built in, considering a lot of people are using WP as a CMS, it should follow some of the basic requirements which are provided by products such as Joomla.

Thanks again for this, fingers crossed.

Thanks,

Gabi.</description>
		<content:encoded><![CDATA[<p>This could be very handy.</p>
<p>I am trying to create/use bespoke templates depending on it&#8217;s &#8216;page&#8217; and it&#8217;s &#8216;children&#8217; there are some ways of doing this, however, to complicated and long winded for me.</p>
<p>Wish it had this functionality built in, considering a lot of people are using WP as a CMS, it should follow some of the basic requirements which are provided by products such as Joomla.</p>
<p>Thanks again for this, fingers crossed.</p>
<p>Thanks,</p>
<p>Gabi.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

