<?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: How to List Child Pages in&#160;Sidebar</title>
	<atom:link href="http://www.tammyhartdesigns.com/tutorials/wordpress-how-to-list-child-pages-in-sidebar/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tammyhartdesigns.com/wordpress/wordpress-how-to-list-child-pages-in-sidebar/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=wordpress-how-to-list-child-pages-in-sidebar</link>
	<description>Web Designer &#38; Custom WordPress  Theme Developer in Birmingham, AL</description>
	<lastBuildDate>Fri, 03 Feb 2012 20:50:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: Tammy Hart</title>
		<link>http://www.tammyhartdesigns.com/wordpress/wordpress-how-to-list-child-pages-in-sidebar/#comment-3156</link>
		<dc:creator>Tammy Hart</dc:creator>
		<pubDate>Thu, 26 Jan 2012 05:45:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.tammyhartdesigns.com/?p=112#comment-3156</guid>
		<description>this code belongs in your sidebar.php template</description>
		<content:encoded><![CDATA[<p>this code belongs in your sidebar.php template</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: max</title>
		<link>http://www.tammyhartdesigns.com/wordpress/wordpress-how-to-list-child-pages-in-sidebar/#comment-3131</link>
		<dc:creator>max</dc:creator>
		<pubDate>Sat, 21 Jan 2012 12:33:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.tammyhartdesigns.com/?p=112#comment-3131</guid>
		<description>how can i add php!? the code is displayed in a wrong way! I post a link where you can see the code!

http://pastebin.com/YrJwHAzW
thanks</description>
		<content:encoded><![CDATA[<p>how can i add php!? the code is displayed in a wrong way! I post a link where you can see the code!</p>
<p><a href="http://pastebin.com/YrJwHAzW" rel="nofollow">http://pastebin.com/YrJwHAzW</a><br />
thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lenny</title>
		<link>http://www.tammyhartdesigns.com/wordpress/wordpress-how-to-list-child-pages-in-sidebar/#comment-3044</link>
		<dc:creator>lenny</dc:creator>
		<pubDate>Mon, 02 Jan 2012 21:46:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.tammyhartdesigns.com/?p=112#comment-3044</guid>
		<description>now it makes sense.
(-:

thank you very much</description>
		<content:encoded><![CDATA[<p>now it makes sense.<br />
(-:</p>
<p>thank you very much</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tammy Hart</title>
		<link>http://www.tammyhartdesigns.com/wordpress/wordpress-how-to-list-child-pages-in-sidebar/#comment-3043</link>
		<dc:creator>Tammy Hart</dc:creator>
		<pubDate>Mon, 02 Jan 2012 20:52:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.tammyhartdesigns.com/?p=112#comment-3043</guid>
		<description>This code is meant to be used in your template. I suggest sidebar.php. 

There are no dumb questions, only unasked ones. :)</description>
		<content:encoded><![CDATA[<p>This code is meant to be used in your template. I suggest sidebar.php. </p>
<p>There are no dumb questions, only unasked ones. <img src='http://www.tammyhartdesigns.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lenny</title>
		<link>http://www.tammyhartdesigns.com/wordpress/wordpress-how-to-list-child-pages-in-sidebar/#comment-3042</link>
		<dc:creator>lenny</dc:creator>
		<pubDate>Mon, 02 Jan 2012 19:23:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.tammyhartdesigns.com/?p=112#comment-3042</guid>
		<description>hi

i&#039;m a complete newbie.
sorry for dumb question: i&#039;d like to show links to sub pages. where do i paste this code?

i tried on the body of the page (in html) or as a widget (text) and i still see the code itself.

sorry ...

thanks</description>
		<content:encoded><![CDATA[<p>hi</p>
<p>i&#8217;m a complete newbie.<br />
sorry for dumb question: i&#8217;d like to show links to sub pages. where do i paste this code?</p>
<p>i tried on the body of the page (in html) or as a widget (text) and i still see the code itself.</p>
<p>sorry &#8230;</p>
<p>thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tammy Hart</title>
		<link>http://www.tammyhartdesigns.com/wordpress/wordpress-how-to-list-child-pages-in-sidebar/#comment-3021</link>
		<dc:creator>Tammy Hart</dc:creator>
		<pubDate>Wed, 21 Dec 2011 18:04:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.tammyhartdesigns.com/?p=112#comment-3021</guid>
		<description>wp_list_categories uses different attributes. You will need to change the child_of to the category id, rather than the post ID.</description>
		<content:encoded><![CDATA[<p>wp_list_categories uses different attributes. You will need to change the child_of to the category id, rather than the post ID.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tre</title>
		<link>http://www.tammyhartdesigns.com/wordpress/wordpress-how-to-list-child-pages-in-sidebar/#comment-3018</link>
		<dc:creator>Tre</dc:creator>
		<pubDate>Wed, 21 Dec 2011 06:19:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.tammyhartdesigns.com/?p=112#comment-3018</guid>
		<description>thanks for the code, but how can I apply this to categories? I though having wp_list_categories instead of wp_list_pages would fix it but I was wrong.</description>
		<content:encoded><![CDATA[<p>thanks for the code, but how can I apply this to categories? I though having wp_list_categories instead of wp_list_pages would fix it but I was wrong.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ally</title>
		<link>http://www.tammyhartdesigns.com/wordpress/wordpress-how-to-list-child-pages-in-sidebar/#comment-2649</link>
		<dc:creator>Ally</dc:creator>
		<pubDate>Wed, 23 Nov 2011 04:35:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.tammyhartdesigns.com/?p=112#comment-2649</guid>
		<description>Thanks Tammy, exactly what I needed!</description>
		<content:encoded><![CDATA[<p>Thanks Tammy, exactly what I needed!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Useful Wordpress navigation code! &#124; CraigCartwright.co.uk</title>
		<link>http://www.tammyhartdesigns.com/wordpress/wordpress-how-to-list-child-pages-in-sidebar/#comment-2641</link>
		<dc:creator>Useful Wordpress navigation code! &#124; CraigCartwright.co.uk</dc:creator>
		<pubDate>Sat, 19 Nov 2011 20:09:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.tammyhartdesigns.com/?p=112#comment-2641</guid>
		<description>[...] results but nothing really seemed to really do what I wanted, until I came across this post from TammyHart Designs &#8211; and it worked out [...]</description>
		<content:encoded><![CDATA[<p>[...] results but nothing really seemed to really do what I wanted, until I came across this post from TammyHart Designs &#8211; and it worked out [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ashley Zaverucha</title>
		<link>http://www.tammyhartdesigns.com/wordpress/wordpress-how-to-list-child-pages-in-sidebar/#comment-2593</link>
		<dc:creator>Ashley Zaverucha</dc:creator>
		<pubDate>Mon, 07 Nov 2011 21:31:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.tammyhartdesigns.com/?p=112#comment-2593</guid>
		<description>I&#039;m trying to display the Parent page, and all sub pages beneath it. This is my code now, but it will only show the child/grandchild pages, but I want it to show the parent page. I&#039;m NOT good at php, so I&#039;ve included my code below: (I have 5 similar page templetes, so I&#039;m hoping you can help and I&#039;ll just copy your code and can change the page/post #&#039;s)
&lt;?php
/*
Template Name: Commercial
*/

// Remove Page Title
remove_action(&#039;genesis_post_title&#039;, &#039;genesis_do_post_title&#039;);

// Moves the Breadcrumbs in the proper place
remove_action(&#039;genesis_before_loop&#039;, &#039;genesis_do_breadcrumbs&#039;);
add_action(&#039;genesis_before_content&#039;, &#039;genesis_do_breadcrumbs&#039;);

// Add a dynamic child page menu on the left side of the page 
add_action(&#039;genesis_before_content&#039;, &#039;landmark_commercial_menu&#039;);
function landmark_commercial_menu() {
echo &quot;&quot;;
	echo &quot;&quot;;
	wp_list_pages(&#039;title_li=&amp;sort_column=menu_order&amp;child_of=16778&#039;);
	echo &quot;&quot;;
	echo &quot;&quot;;
}

// Use the Genesis page.php template
// require_once(PARENT_DIR . &#039;/page.php&#039;);
?&gt;






	
	

		
		
		

	&lt;!-- end #content --&gt;
	

&lt;!-- end #content-sidebar-wrap --&gt;


</description>
		<content:encoded><![CDATA[<p>I&#8217;m trying to display the Parent page, and all sub pages beneath it. This is my code now, but it will only show the child/grandchild pages, but I want it to show the parent page. I&#8217;m NOT good at php, so I&#8217;ve included my code below: (I have 5 similar page templetes, so I&#8217;m hoping you can help and I&#8217;ll just copy your code and can change the page/post #&#8217;s)<br />
&lt;?php<br />
/*<br />
Template Name: Commercial<br />
*/</p>
<p>// Remove Page Title<br />
remove_action(&#039;genesis_post_title&#039;, &#039;genesis_do_post_title&#039;);</p>
<p>// Moves the Breadcrumbs in the proper place<br />
remove_action(&#039;genesis_before_loop&#039;, &#039;genesis_do_breadcrumbs&#039;);<br />
add_action(&#039;genesis_before_content&#039;, &#039;genesis_do_breadcrumbs&#039;);</p>
<p>// Add a dynamic child page menu on the left side of the page<br />
add_action(&#039;genesis_before_content&#039;, &#039;landmark_commercial_menu&#039;);<br />
function landmark_commercial_menu() {<br />
echo &quot;&#8221;;<br />
	echo &#8220;&#8221;;<br />
	wp_list_pages(&#8216;title_li=&amp;sort_column=menu_order&amp;child_of=16778&#8242;);<br />
	echo &#8220;&#8221;;<br />
	echo &#8220;&#8221;;<br />
}</p>
<p>// Use the Genesis page.php template<br />
// require_once(PARENT_DIR . &#8216;/page.php&#8217;);<br />
?&gt;</p>
<p>	<!-- end #content --></p>
<p><!-- end #content-sidebar-wrap --></p>
]]></content:encoded>
	</item>
</channel>
</rss>

