<?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: List only child Pages of a specific parent Page</title>
	<atom:link href="http://wpgarage.com/wordpress-as-cms/list-only-child-pages-of-a-specific-parent-page/feed/" rel="self" type="application/rss+xml" />
	<link>http://wpgarage.com/wordpress-as-cms/list-only-child-pages-of-a-specific-parent-page/</link>
	<description>wordpress tricks, hacks, and tips</description>
	<lastBuildDate>Wed, 09 May 2012 06:53:59 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: Wordpress Developer</title>
		<link>http://wpgarage.com/wordpress-as-cms/list-only-child-pages-of-a-specific-parent-page/#comment-62763</link>
		<dc:creator>Wordpress Developer</dc:creator>
		<pubDate>Sat, 24 Sep 2011 14:34:03 +0000</pubDate>
		<guid isPermaLink="false">http://wordpressgarage.com/wordpress-as-cms/list-only-child-pages-of-a-specific-parent-page/#comment-62763</guid>
		<description>Great stuff, thanks for sharing.
JUst one question: when listing page childs, how can I also lsit the main page on top of the list? </description>
		<content:encoded><![CDATA[<p>Great stuff, thanks for sharing.<br />
JUst one question: when listing page childs, how can I also lsit the main page on top of the list? </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: psdtohtmlexperts</title>
		<link>http://wpgarage.com/wordpress-as-cms/list-only-child-pages-of-a-specific-parent-page/#comment-62748</link>
		<dc:creator>psdtohtmlexperts</dc:creator>
		<pubDate>Fri, 09 Sep 2011 19:13:03 +0000</pubDate>
		<guid isPermaLink="false">http://wordpressgarage.com/wordpress-as-cms/list-only-child-pages-of-a-specific-parent-page/#comment-62748</guid>
		<description>Thanks Man, Its work smoothly :)</description>
		<content:encoded><![CDATA[<p>Thanks Man, Its work smoothly <img src='http://wpgarage.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Codinedawn</title>
		<link>http://wpgarage.com/wordpress-as-cms/list-only-child-pages-of-a-specific-parent-page/#comment-62722</link>
		<dc:creator>Codinedawn</dc:creator>
		<pubDate>Wed, 17 Aug 2011 14:24:11 +0000</pubDate>
		<guid isPermaLink="false">http://wordpressgarage.com/wordpress-as-cms/list-only-child-pages-of-a-specific-parent-page/#comment-62722</guid>
		<description>This did the trick, thanks! &#039;Specific parent&#039; is exactly the code I was looking for...</description>
		<content:encoded><![CDATA[<p>This did the trick, thanks! &#8216;Specific parent&#8217; is exactly the code I was looking for&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Loringer</title>
		<link>http://wpgarage.com/wordpress-as-cms/list-only-child-pages-of-a-specific-parent-page/#comment-62220</link>
		<dc:creator>Chris Loringer</dc:creator>
		<pubDate>Wed, 16 Mar 2011 14:40:04 +0000</pubDate>
		<guid isPermaLink="false">http://wordpressgarage.com/wordpress-as-cms/list-only-child-pages-of-a-specific-parent-page/#comment-62220</guid>
		<description>I&#039;m a little late to the party but thanks! This worked perfect.</description>
		<content:encoded><![CDATA[<p>I&#8217;m a little late to the party but thanks! This worked perfect.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vaseem Ansari</title>
		<link>http://wpgarage.com/wordpress-as-cms/list-only-child-pages-of-a-specific-parent-page/#comment-61772</link>
		<dc:creator>Vaseem Ansari</dc:creator>
		<pubDate>Tue, 02 Nov 2010 13:28:56 +0000</pubDate>
		<guid isPermaLink="false">http://wordpressgarage.com/wordpress-as-cms/list-only-child-pages-of-a-specific-parent-page/#comment-61772</guid>
		<description>This is really good piece of code, but what if i want to show
parent and their child pages with my own styling in header menu.
i want to show like this
parent             parent 2
child 1
child 2
i want to show them using my own css and styling, i know this can not be done using wp_list_pages() function, so can u suggest me some hack for this.
Thanks
Vaseem Ansari</description>
		<content:encoded><![CDATA[<p>This is really good piece of code, but what if i want to show<br />
parent and their child pages with my own styling in header menu.<br />
i want to show like this<br />
parent             parent 2<br />
child 1<br />
child 2<br />
i want to show them using my own css and styling, i know this can not be done using wp_list_pages() function, so can u suggest me some hack for this.<br />
Thanks<br />
Vaseem Ansari</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bhupendra</title>
		<link>http://wpgarage.com/wordpress-as-cms/list-only-child-pages-of-a-specific-parent-page/#comment-61766</link>
		<dc:creator>bhupendra</dc:creator>
		<pubDate>Mon, 01 Nov 2010 17:47:08 +0000</pubDate>
		<guid isPermaLink="false">http://wordpressgarage.com/wordpress-as-cms/list-only-child-pages-of-a-specific-parent-page/#comment-61766</guid>
		<description>Any help regarding how to display the custom fields of subpages?</description>
		<content:encoded><![CDATA[<p>Any help regarding how to display the custom fields of subpages?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bas</title>
		<link>http://wpgarage.com/wordpress-as-cms/list-only-child-pages-of-a-specific-parent-page/#comment-61530</link>
		<dc:creator>Bas</dc:creator>
		<pubDate>Tue, 17 Aug 2010 10:22:40 +0000</pubDate>
		<guid isPermaLink="false">http://wordpressgarage.com/wordpress-as-cms/list-only-child-pages-of-a-specific-parent-page/#comment-61530</guid>
		<description>Hi,
i see you are the pages specialist ;)
i have the following problem: I want to have the pages in another DIV then the subpages of the selected page. (see a &lt;a href=&quot;http://www.huisartsenpraktijkruinerwold.nl/wp-content/index.gif&quot; rel=&quot;nofollow&quot;&gt;drawing &lt;/a&gt;of the problem)
I hope you can help,
Bas</description>
		<content:encoded><![CDATA[<p>Hi,<br />
i see you are the pages specialist <img src='http://wpgarage.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
i have the following problem: I want to have the pages in another DIV then the subpages of the selected page. (see a <a href="http://www.huisartsenpraktijkruinerwold.nl/wp-content/index.gif" rel="nofollow">drawing </a>of the problem)<br />
I hope you can help,<br />
Bas</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Justin Sternberg</title>
		<link>http://wpgarage.com/wordpress-as-cms/list-only-child-pages-of-a-specific-parent-page/#comment-61525</link>
		<dc:creator>Justin Sternberg</dc:creator>
		<pubDate>Tue, 10 Aug 2010 19:48:51 +0000</pubDate>
		<guid isPermaLink="false">http://wordpressgarage.com/wordpress-as-cms/list-only-child-pages-of-a-specific-parent-page/#comment-61525</guid>
		<description>
@Gray ok, now i understand what you’re saying…  thank you!  so, to get this to work, replace:
&lt;?php wp_list_pages(&#039;child_of=2&amp;sort_column=post_title&amp;title_li=&#039;) ?&gt;

with:
&lt;?php wp_list_pages(&#039;child_of=MyPageName&amp;sort_column=post_title&amp;title_li=&#039;) ?&gt;
 
?
</description>
		<content:encoded><![CDATA[<p>@Gray ok, now i understand what you’re saying…  thank you!  so, to get this to work, replace:<br />
&lt;?php wp_list_pages(&#8216;child_of=2&amp;sort_column=post_title&amp;title_li=&#8217;) ?&gt;</p>
<p>with:<br />
&lt;?php wp_list_pages(&#8216;child_of=MyPageName&amp;sort_column=post_title&amp;title_li=&#8217;) ?&gt;</p>
<p>?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Justin Sternberg</title>
		<link>http://wpgarage.com/wordpress-as-cms/list-only-child-pages-of-a-specific-parent-page/#comment-61523</link>
		<dc:creator>Justin Sternberg</dc:creator>
		<pubDate>Tue, 10 Aug 2010 19:46:37 +0000</pubDate>
		<guid isPermaLink="false">http://wordpressgarage.com/wordpress-as-cms/list-only-child-pages-of-a-specific-parent-page/#comment-61523</guid>
		<description>@Gray ok, now i understand what you&#039;re saying...  thank you!  so, to get this to work, replace:

&lt;ul class=&quot;children&quot;&gt;
&lt;?php
if($post-&gt;post_parent)
$children = wp_list_pages(&quot;title_li=&amp;child_of=&quot;.$post-&gt;post_parent.&quot;&amp;echo=0&quot;);
else
$children = wp_list_pages(&quot;title_li=&amp;child_of=&quot;.$post-&gt;ID.&quot;&amp;echo=0&quot;);
if ($children) {
?&gt;
&lt;ul&gt;
&lt;?php echo $children; ?&gt;
&lt;/ul&gt;
&lt;?php } ?&gt;
&lt;/ul&gt;
with:

&lt;ul class=&quot;children&quot;&gt;
&lt;?php
if($post-&gt;post_parent)
$children = wp_list_pages(&quot;title_li=&amp;child_of=&quot;.$post-&gt;post_parent.&quot;&amp;echo=0&quot;);
else
$children = wp_list_pages(&quot;title_li=&amp;child_of=&quot;.$post-&gt;MyPageName.&quot;&amp;echo=0&quot;);
if ($children) {
?&gt;
&lt;ul&gt;
&lt;?php echo $children; ?&gt;
&lt;/ul&gt;
&lt;?php } ?&gt;
&lt;/ul&gt;
 
?

</description>
		<content:encoded><![CDATA[<p>@Gray ok, now i understand what you&#8217;re saying&#8230;  thank you!  so, to get this to work, replace:</p>
<p>&lt;ul class=&#8221;children&#8221;&gt;<br />
&lt;?php<br />
if($post-&gt;post_parent)<br />
$children = wp_list_pages(&#8220;title_li=&amp;child_of=&#8221;.$post-&gt;post_parent.&#8221;&amp;echo=0&#8243;);<br />
else<br />
$children = wp_list_pages(&#8220;title_li=&amp;child_of=&#8221;.$post-&gt;ID.&#8221;&amp;echo=0&#8243;);<br />
if ($children) {<br />
?&gt;<br />
&lt;ul&gt;<br />
&lt;?php echo $children; ?&gt;<br />
&lt;/ul&gt;<br />
&lt;?php } ?&gt;<br />
&lt;/ul&gt;<br />
with:</p>
<p>&lt;ul class=&#8221;children&#8221;&gt;<br />
&lt;?php<br />
if($post-&gt;post_parent)<br />
$children = wp_list_pages(&#8220;title_li=&amp;child_of=&#8221;.$post-&gt;post_parent.&#8221;&amp;echo=0&#8243;);<br />
else<br />
$children = wp_list_pages(&#8220;title_li=&amp;child_of=&#8221;.$post-&gt;MyPageName.&#8221;&amp;echo=0&#8243;);<br />
if ($children) {<br />
?&gt;<br />
&lt;ul&gt;<br />
&lt;?php echo $children; ?&gt;<br />
&lt;/ul&gt;<br />
&lt;?php } ?&gt;<br />
&lt;/ul&gt;<br />
 <br />
?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gray</title>
		<link>http://wpgarage.com/wordpress-as-cms/list-only-child-pages-of-a-specific-parent-page/#comment-61522</link>
		<dc:creator>Gray</dc:creator>
		<pubDate>Tue, 10 Aug 2010 19:32:28 +0000</pubDate>
		<guid isPermaLink="false">http://wordpressgarage.com/wordpress-as-cms/list-only-child-pages-of-a-specific-parent-page/#comment-61522</guid>
		<description>@ &lt;cite&gt;Justin Sternberg from  what I understood you wanted to change the default id&#039;s to the page names, right? Well, from the screenshot you just sent, if you select Custom Structure, that will automatically change the ids to the names of your page. I found that /%category%/%postname%/ was most ideal.&lt;/cite&gt;
&lt;strong&gt;Hope that helps!&lt;/strong&gt;
 </description>
		<content:encoded><![CDATA[<p>@ <cite>Justin Sternberg from  what I understood you wanted to change the default id&#8217;s to the page names, right? Well, from the screenshot you just sent, if you select Custom Structure, that will automatically change the ids to the names of your page. I found that /%category%/%postname%/ was most ideal.</cite><br />
<strong>Hope that helps!</strong><br />
 </p>
]]></content:encoded>
	</item>
</channel>
</rss>

