<?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: Dynamic Multi-level Page Menus in WordPress</title>
	<atom:link href="http://curtishenson.com/dynamic-multi-level-page-menus-in-wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://curtishenson.com/version7/dynamic-multi-level-page-menus-in-wordpress/</link>
	<description>Freelance Web Designer and Wordpress Guru</description>
	<lastBuildDate>Mon, 27 Sep 2010 12:59:57 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: Curtis Henson</title>
		<link>http://curtishenson.com/version7/dynamic-multi-level-page-menus-in-wordpress/comment-page-1/#comment-2796</link>
		<dc:creator>Curtis Henson</dc:creator>
		<pubDate>Fri, 14 May 2010 19:50:42 +0000</pubDate>
		<guid isPermaLink="false">http://curtishenson.com/?p=497#comment-2796</guid>
		<description>Not the way it is currently written, but could be possible. Maybe if you put the child menu into a variable and then called it somewhere else in the template or passed it into another function.</description>
		<content:encoded><![CDATA[<p>Not the way it is currently written, but could be possible. Maybe if you put the child menu into a variable and then called it somewhere else in the template or passed it into another function.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon Duun</title>
		<link>http://curtishenson.com/version7/dynamic-multi-level-page-menus-in-wordpress/comment-page-1/#comment-2795</link>
		<dc:creator>Simon Duun</dc:creator>
		<pubDate>Fri, 14 May 2010 19:45:44 +0000</pubDate>
		<guid isPermaLink="false">http://curtishenson.com/?p=497#comment-2795</guid>
		<description>Thank you so much. However, I have a question.

Is it possible to move the childmenu to a different block(div) than where the mastermenu is?</description>
		<content:encoded><![CDATA[<p>Thank you so much. However, I have a question.</p>
<p>Is it possible to move the childmenu to a different block(div) than where the mastermenu is?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Curtis Henson</title>
		<link>http://curtishenson.com/version7/dynamic-multi-level-page-menus-in-wordpress/comment-page-1/#comment-2793</link>
		<dc:creator>Curtis Henson</dc:creator>
		<pubDate>Fri, 14 May 2010 16:21:30 +0000</pubDate>
		<guid isPermaLink="false">http://curtishenson.com/?p=497#comment-2793</guid>
		<description>The CSS is to absolutely position the children under the parent. 

If you can&#039;t see the children in the HTML then something else is the problem.</description>
		<content:encoded><![CDATA[<p>The CSS is to absolutely position the children under the parent. </p>
<p>If you can&#8217;t see the children in the HTML then something else is the problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh Teague</title>
		<link>http://curtishenson.com/version7/dynamic-multi-level-page-menus-in-wordpress/comment-page-1/#comment-2792</link>
		<dc:creator>Josh Teague</dc:creator>
		<pubDate>Fri, 14 May 2010 13:56:11 +0000</pubDate>
		<guid isPermaLink="false">http://curtishenson.com/?p=497#comment-2792</guid>
		<description>what kind of CSS do I need to do to make it behave right?  I can not even get the first level child pages to show up.</description>
		<content:encoded><![CDATA[<p>what kind of CSS do I need to do to make it behave right?  I can not even get the first level child pages to show up.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Glenn Geiger</title>
		<link>http://curtishenson.com/version7/dynamic-multi-level-page-menus-in-wordpress/comment-page-1/#comment-2783</link>
		<dc:creator>Glenn Geiger</dc:creator>
		<pubDate>Wed, 28 Apr 2010 18:10:14 +0000</pubDate>
		<guid isPermaLink="false">http://curtishenson.com/?p=497#comment-2783</guid>
		<description>Thanks, that makes sense. Still working on the array concept that would build a list of child and grandchild pages for the current parent, then only show those child pages of the current parent, and only show those grandchild pages of the current child. I&#039;ll post back if I come up with anything.</description>
		<content:encoded><![CDATA[<p>Thanks, that makes sense. Still working on the array concept that would build a list of child and grandchild pages for the current parent, then only show those child pages of the current parent, and only show those grandchild pages of the current child. I&#8217;ll post back if I come up with anything.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Curtis Henson</title>
		<link>http://curtishenson.com/version7/dynamic-multi-level-page-menus-in-wordpress/comment-page-1/#comment-2782</link>
		<dc:creator>Curtis Henson</dc:creator>
		<pubDate>Wed, 28 Apr 2010 17:02:16 +0000</pubDate>
		<guid isPermaLink="false">http://curtishenson.com/?p=497#comment-2782</guid>
		<description>Sebastian&#039;s code was mangled I think that first line should read something like:

&lt;code&gt;$children = wp_list_pages(&quot;title_li=&amp;child_of=&quot;. $post-&gt;ID .&quot;&amp;echo=0&quot;);&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Sebastian&#8217;s code was mangled I think that first line should read something like:</p>
<p><code>$children = wp_list_pages("title_li=&#038;child_of=". $post->ID ."&#038;echo=0");</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Glenn Geiger</title>
		<link>http://curtishenson.com/version7/dynamic-multi-level-page-menus-in-wordpress/comment-page-1/#comment-2781</link>
		<dc:creator>Glenn Geiger</dc:creator>
		<pubDate>Wed, 28 Apr 2010 16:44:58 +0000</pubDate>
		<guid isPermaLink="false">http://curtishenson.com/?p=497#comment-2781</guid>
		<description>Are you using this in addition to the function, or on it&#039;s own?

Also, does the first line:
&lt;code&gt;ID.&#039;&amp;echo=0&#039;);&lt;/code&gt;
have to do with the menu?</description>
		<content:encoded><![CDATA[<p>Are you using this in addition to the function, or on it&#8217;s own?</p>
<p>Also, does the first line:<br />
<code>ID.'&amp;echo=0');</code><br />
have to do with the menu?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Glenn Geiger</title>
		<link>http://curtishenson.com/version7/dynamic-multi-level-page-menus-in-wordpress/comment-page-1/#comment-2780</link>
		<dc:creator>Glenn Geiger</dc:creator>
		<pubDate>Wed, 28 Apr 2010 16:42:34 +0000</pubDate>
		<guid isPermaLink="false">http://curtishenson.com/?p=497#comment-2780</guid>
		<description>It&#039;s true that the function currently shows all child and grandchild pages of the active parent. I like the idea of building an array, but using page ID&#039;s would not be a &#039;dynamic&#039; solution to the problem. If I could write this myself, believe me, I would! So thanks for the function and the discussion.</description>
		<content:encoded><![CDATA[<p>It&#8217;s true that the function currently shows all child and grandchild pages of the active parent. I like the idea of building an array, but using page ID&#8217;s would not be a &#8216;dynamic&#8217; solution to the problem. If I could write this myself, believe me, I would! So thanks for the function and the discussion.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ollie</title>
		<link>http://curtishenson.com/version7/dynamic-multi-level-page-menus-in-wordpress/comment-page-1/#comment-2778</link>
		<dc:creator>Ollie</dc:creator>
		<pubDate>Tue, 27 Apr 2010 10:29:24 +0000</pubDate>
		<guid isPermaLink="false">http://curtishenson.com/?p=497#comment-2778</guid>
		<description>Awesome!

Just what I was looking for. You&#039;re the best man!

Thanks so much, works perfectly.</description>
		<content:encoded><![CDATA[<p>Awesome!</p>
<p>Just what I was looking for. You&#8217;re the best man!</p>
<p>Thanks so much, works perfectly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sebastian</title>
		<link>http://curtishenson.com/version7/dynamic-multi-level-page-menus-in-wordpress/comment-page-1/#comment-2772</link>
		<dc:creator>Sebastian</dc:creator>
		<pubDate>Wed, 21 Apr 2010 12:21:26 +0000</pubDate>
		<guid isPermaLink="false">http://curtishenson.com/?p=497#comment-2772</guid>
		<description>Hey,

I like to keep things simple.
What I am using is this:

&lt;code&gt;
ID.&#039;&amp;echo=0&#039;);
	if($children) {
		$has_children = true;
	}
	// case: child page
	if(is_page() &amp;&amp; $post-&gt;post_parent) {
		// This is a subpage
		$menu = wp_list_pages(&#039;sort_column=menu_order&amp;title_li=&amp;depth=0&amp;echo=0&#039;);

	// case: parent page
	} else if($has_children) {
		// This is a parent page that have subpages
		$menu = wp_list_pages(&#039;sort_column=menu_order&amp;title_li=&amp;depth=0&amp;echo=0&#039;);
	}
	// case: not a parent page and not a child page
	else {
		$menu = wp_list_pages(&#039;sort_column=menu_order&amp;title_li=&amp;depth=1&amp;echo=0&#039;);
	}
?&gt;
		
			
		
&lt;/code&gt;

And the rest is just CSS.

Of course it is a different style of navigation but it works fine for most websites I am developing.

:)</description>
		<content:encoded><![CDATA[<p>Hey,</p>
<p>I like to keep things simple.<br />
What I am using is this:</p>
<p><code><br />
ID.'&amp;echo=0');<br />
	if($children) {<br />
		$has_children = true;<br />
	}<br />
	// case: child page<br />
	if(is_page() &amp;&amp; $post-&gt;post_parent) {<br />
		// This is a subpage<br />
		$menu = wp_list_pages('sort_column=menu_order&amp;title_li=&amp;depth=0&amp;echo=0');</p>
<p>	// case: parent page<br />
	} else if($has_children) {<br />
		// This is a parent page that have subpages<br />
		$menu = wp_list_pages('sort_column=menu_order&amp;title_li=&amp;depth=0&amp;echo=0');<br />
	}<br />
	// case: not a parent page and not a child page<br />
	else {<br />
		$menu = wp_list_pages('sort_column=menu_order&amp;title_li=&amp;depth=1&amp;echo=0');<br />
	}<br />
?&gt;</p>
<p></code></p>
<p>And the rest is just CSS.</p>
<p>Of course it is a different style of navigation but it works fine for most websites I am developing.</p>
<p>:)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

