<?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: How to create a Simple Directory in WordPress using Grandparent, Parent, and Child Pages</title>
	<atom:link href="http://wpgarage.com/code-snippets/how-to-create-a-simple-directory-in-wordpress-using-grandparent-parent-and-child-pages/feed/" rel="self" type="application/rss+xml" />
	<link>http://wpgarage.com/code-snippets/how-to-create-a-simple-directory-in-wordpress-using-grandparent-parent-and-child-pages/</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: NanC</title>
		<link>http://wpgarage.com/code-snippets/how-to-create-a-simple-directory-in-wordpress-using-grandparent-parent-and-child-pages/#comment-63776</link>
		<dc:creator>NanC</dc:creator>
		<pubDate>Sat, 21 Apr 2012 14:33:25 +0000</pubDate>
		<guid isPermaLink="false">http://wordpressgarage.com/?p=464#comment-63776</guid>
		<description>I&#039;m new to using WordPress, so new that I&#039;m not sure if your advice above answers my question, which is...

My WordPress-powered site has 5 Pages, all of which appear in my horizontal menu.  1 Page has 2 Children.  Here&#039;s is an example of my menu:

HOME
ABOUT
    ABOUT ABC
    ABOUT DEF
FAQ
BLOG
CONTACT

The ABOUT page has no content (intentionally).  I created the ABOUT page only so it could have 2 Children as submenus.  When someone clicks on ABOUT in the Menu, I don&#039;t want the ABOUT page itself to load.  I just want the submenus to appear and be clickable hyperlinks to their respective pages.

Is what I&#039;m trying to do possible?  If so, what code do I need?
(I tried posting this question twice in the WordPress.org Support Forum, and both times, my question didn&#039;t register even though I was logged in.)

Thank you!</description>
		<content:encoded><![CDATA[<p>I&#8217;m new to using WordPress, so new that I&#8217;m not sure if your advice above answers my question, which is&#8230;</p>
<p>My WordPress-powered site has 5 Pages, all of which appear in my horizontal menu.  1 Page has 2 Children.  Here&#8217;s is an example of my menu:</p>
<p>HOME<br />
ABOUT<br />
    ABOUT ABC<br />
    ABOUT DEF<br />
FAQ<br />
BLOG<br />
CONTACT</p>
<p>The ABOUT page has no content (intentionally).  I created the ABOUT page only so it could have 2 Children as submenus.  When someone clicks on ABOUT in the Menu, I don&#8217;t want the ABOUT page itself to load.  I just want the submenus to appear and be clickable hyperlinks to their respective pages.</p>
<p>Is what I&#8217;m trying to do possible?  If so, what code do I need?<br />
(I tried posting this question twice in the WordPress.org Support Forum, and both times, my question didn&#8217;t register even though I was logged in.)</p>
<p>Thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mobile Detail Jacksonville</title>
		<link>http://wpgarage.com/code-snippets/how-to-create-a-simple-directory-in-wordpress-using-grandparent-parent-and-child-pages/#comment-62789</link>
		<dc:creator>Mobile Detail Jacksonville</dc:creator>
		<pubDate>Fri, 14 Oct 2011 17:19:10 +0000</pubDate>
		<guid isPermaLink="false">http://wordpressgarage.com/?p=464#comment-62789</guid>
		<description>&lt;?php if ( $post-&gt;post_parent==”10?   ){ ?&gt;&lt;?php $pageChildren = $wpdb-&gt;get_results(“SELECT *    FROM $wpdb-&gt;posts WHERE post_parent = “.$post-&gt;ID.”    AND post_type = ‘page’ ORDER BY post_title ASC”, ‘OBJECT’);    ?&gt;

Can you explain that?! </description>
		<content:encoded><![CDATA[<p>&lt;?php if ( $post-&gt;post_parent==”10?   ){ ?&gt;&lt;?php $pageChildren = $wpdb-&gt;get_results(“SELECT *    FROM $wpdb-&gt;posts WHERE post_parent = “.$post-&gt;ID.”    AND post_type = ‘page’ ORDER BY post_title ASC”, ‘OBJECT’);    ?&gt;</p>
<p>Can you explain that?! </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Howard</title>
		<link>http://wpgarage.com/code-snippets/how-to-create-a-simple-directory-in-wordpress-using-grandparent-parent-and-child-pages/#comment-62636</link>
		<dc:creator>Howard</dc:creator>
		<pubDate>Tue, 19 Jul 2011 19:15:42 +0000</pubDate>
		<guid isPermaLink="false">http://wordpressgarage.com/?p=464#comment-62636</guid>
		<description>Link to full page.php broken or page no longer exist. Would like to use this code but example not explicit enough.</description>
		<content:encoded><![CDATA[<p>Link to full page.php broken or page no longer exist. Would like to use this code but example not explicit enough.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jacksonville Jewelers</title>
		<link>http://wpgarage.com/code-snippets/how-to-create-a-simple-directory-in-wordpress-using-grandparent-parent-and-child-pages/#comment-62584</link>
		<dc:creator>Jacksonville Jewelers</dc:creator>
		<pubDate>Sat, 09 Jul 2011 19:58:58 +0000</pubDate>
		<guid isPermaLink="false">http://wordpressgarage.com/?p=464#comment-62584</guid>
		<description>I have an existing jewelry site for our store here in Jacksonville that this code is going to ROCK on. Thanks!</description>
		<content:encoded><![CDATA[<p>I have an existing jewelry site for our store here in Jacksonville that this code is going to ROCK on. Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Covandy</title>
		<link>http://wpgarage.com/code-snippets/how-to-create-a-simple-directory-in-wordpress-using-grandparent-parent-and-child-pages/#comment-62459</link>
		<dc:creator>Covandy</dc:creator>
		<pubDate>Sat, 11 Jun 2011 07:51:53 +0000</pubDate>
		<guid isPermaLink="false">http://wordpressgarage.com/?p=464#comment-62459</guid>
		<description>Do you think you could expand this to further sub pages &gt; more depth than grandparents. Does wordpress support sub pages further than this?</description>
		<content:encoded><![CDATA[<p>Do you think you could expand this to further sub pages &gt; more depth than grandparents. Does wordpress support sub pages further than this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Teach</title>
		<link>http://wpgarage.com/code-snippets/how-to-create-a-simple-directory-in-wordpress-using-grandparent-parent-and-child-pages/#comment-61829</link>
		<dc:creator>Teach</dc:creator>
		<pubDate>Fri, 17 Dec 2010 05:56:45 +0000</pubDate>
		<guid isPermaLink="false">http://wordpressgarage.com/?p=464#comment-61829</guid>
		<description>Thanks for this solution this is very helpful for those who are using wordpress</description>
		<content:encoded><![CDATA[<p>Thanks for this solution this is very helpful for those who are using wordpress</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy</title>
		<link>http://wpgarage.com/code-snippets/how-to-create-a-simple-directory-in-wordpress-using-grandparent-parent-and-child-pages/#comment-61700</link>
		<dc:creator>Andy</dc:creator>
		<pubDate>Thu, 07 Oct 2010 17:14:39 +0000</pubDate>
		<guid isPermaLink="false">http://wordpressgarage.com/?p=464#comment-61700</guid>
		<description>Hi

Great article, thanks for the info.

One question, could I run this for two separate directories?
I.e. Have two separate grand parent pages

Thanks for any help or advice offered</description>
		<content:encoded><![CDATA[<p>Hi</p>
<p>Great article, thanks for the info.</p>
<p>One question, could I run this for two separate directories?<br />
I.e. Have two separate grand parent pages</p>
<p>Thanks for any help or advice offered</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://wpgarage.com/code-snippets/how-to-create-a-simple-directory-in-wordpress-using-grandparent-parent-and-child-pages/#comment-61662</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Fri, 17 Sep 2010 04:31:30 +0000</pubDate>
		<guid isPermaLink="false">http://wordpressgarage.com/?p=464#comment-61662</guid>
		<description>dude...you have no idea how long it took for me to find this post and make my world come together in a beautiful array of happy thoughts.  thanks for this snippet - saved me!  (i knew someone had to have figured this out and well enough for a php hack to understand).
thanks...did i say that yet!?</description>
		<content:encoded><![CDATA[<p>dude&#8230;you have no idea how long it took for me to find this post and make my world come together in a beautiful array of happy thoughts.  thanks for this snippet &#8211; saved me!  (i knew someone had to have figured this out and well enough for a php hack to understand).<br />
thanks&#8230;did i say that yet!?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: scott</title>
		<link>http://wpgarage.com/code-snippets/how-to-create-a-simple-directory-in-wordpress-using-grandparent-parent-and-child-pages/#comment-60993</link>
		<dc:creator>scott</dc:creator>
		<pubDate>Tue, 06 Apr 2010 16:53:37 +0000</pubDate>
		<guid isPermaLink="false">http://wordpressgarage.com/?p=464#comment-60993</guid>
		<description>I love what you&#039;ve done here. How would I modify the code to JUST have Parent and Child pages but no grandparent?</description>
		<content:encoded><![CDATA[<p>I love what you&#8217;ve done here. How would I modify the code to JUST have Parent and Child pages but no grandparent?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: links for 2009-06-29 at So It&#8217;s Come To This:</title>
		<link>http://wpgarage.com/code-snippets/how-to-create-a-simple-directory-in-wordpress-using-grandparent-parent-and-child-pages/#comment-60096</link>
		<dc:creator>links for 2009-06-29 at So It&#8217;s Come To This:</dc:creator>
		<pubDate>Tue, 30 Jun 2009 05:17:45 +0000</pubDate>
		<guid isPermaLink="false">http://wordpressgarage.com/?p=464#comment-60096</guid>
		<description>[...] How to create a Simple Directory in Wordpress using Grandparent, Parent, and Child Pages &#124; Wordpress... (tags: wordpress code hacks php) [...]</description>
		<content:encoded><![CDATA[<p>[...] How to create a Simple Directory in WordPress using Grandparent, Parent, and Child Pages | WordPress&#8230; (tags: wordpress code hacks php) [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

