<?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 Parent Child Page Links</title>
	<atom:link href="http://unrelatedmedia.ca/tutorial/wordpress-parent-child-page-links/feed" rel="self" type="application/rss+xml" />
	<link>http://unrelatedmedia.ca/tutorial/wordpress-parent-child-page-links</link>
	<description>Web Development Articles and Tutorials</description>
	<lastBuildDate>Fri, 08 Mar 2013 16:48:12 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: Neil Davidson</title>
		<link>http://unrelatedmedia.ca/tutorial/wordpress-parent-child-page-links#comment-204</link>
		<dc:creator>Neil Davidson</dc:creator>
		<pubDate>Fri, 23 Mar 2012 18:37:32 +0000</pubDate>
		<guid isPermaLink="false">http://unrelatedmedia.ca/?p=1047#comment-204</guid>
		<description><![CDATA[Thank you for your feedback. What is actually happening is you are requesting all children pages to be returned for each parent you send to the function. Within the function you can define how you want to set the display. In the above example I have added HTML list tags but you can use anything you wish. Whatever is used, if anything, is returned by the function.

If you look at line 40 of the above function you will note the start of the HTML unordered list. The last thing we add is the end of that list. If you want the child links to be within their own unordered list you would simply add an HTML open tag around line 48 and close it at line 49.

This function is very generic and can easily be adapted to fit any layouts and needs. The tutorial was for instructional purposes, but this function can be added to quite easily to add layout controls. I left an open example within the function using the variable $container_class.

This can be extended to, say, call a specific layout styling for lists, tables, menus, or any such. As the key functions are there it would take little to adjust the code to be more adaptable for layouts.]]></description>
		<content:encoded><![CDATA[<p>Thank you for your feedback. What is actually happening is you are requesting all children pages to be returned for each parent you send to the function. Within the function you can define how you want to set the display. In the above example I have added HTML list tags but you can use anything you wish. Whatever is used, if anything, is returned by the function.</p>
<p>If you look at line 40 of the above function you will note the start of the HTML unordered list. The last thing we add is the end of that list. If you want the child links to be within their own unordered list you would simply add an HTML open tag around line 48 and close it at line 49.</p>
<p>This function is very generic and can easily be adapted to fit any layouts and needs. The tutorial was for instructional purposes, but this function can be added to quite easily to add layout controls. I left an open example within the function using the variable $container_class.</p>
<p>This can be extended to, say, call a specific layout styling for lists, tables, menus, or any such. As the key functions are there it would take little to adjust the code to be more adaptable for layouts.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan</title>
		<link>http://unrelatedmedia.ca/tutorial/wordpress-parent-child-page-links#comment-202</link>
		<dc:creator>Jonathan</dc:creator>
		<pubDate>Fri, 23 Mar 2012 09:41:59 +0000</pubDate>
		<guid isPermaLink="false">http://unrelatedmedia.ca/?p=1047#comment-202</guid>
		<description><![CDATA[Hi! Great stuff, using your function along with a custom wp_query to dynamically get all the parent-pages.. However, it doesn&#039;t seem to take into account to put the childpages inside their own ul-tag.. right now both parentpage and child is both in the same ul.  This is how my code looks:

http://pastebin.com/YjxugHhs]]></description>
		<content:encoded><![CDATA[<p>Hi! Great stuff, using your function along with a custom wp_query to dynamically get all the parent-pages.. However, it doesn&#8217;t seem to take into account to put the childpages inside their own ul-tag.. right now both parentpage and child is both in the same ul.  This is how my code looks:</p>
<p><a href="http://pastebin.com/YjxugHhs" rel="nofollow">http://pastebin.com/YjxugHhs</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
