<?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 find if a WordPress page has children</title>
	<atom:link href="http://blogmum.com/2009/09/how-to-find-if-a-wordpress-page-has-children/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogmum.com/2009/09/how-to-find-if-a-wordpress-page-has-children/</link>
	<description>WordPress made easy</description>
	<lastBuildDate>Tue, 09 Mar 2010 22:55:25 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: matthew booth</title>
		<link>http://blogmum.com/2009/09/how-to-find-if-a-wordpress-page-has-children/#comment-2819</link>
		<dc:creator>matthew booth</dc:creator>
		<pubDate>Wed, 27 Jan 2010 17:31:28 +0000</pubDate>
		<guid isPermaLink="false">http://blogmum.com/?p=1440#comment-2819</guid>
		<description> 
 
 
 &lt;?php 
  $pages = get_pages(); 
  foreach ($pages as $pagg) {
  	$option = &#039;ID).&#039;&quot;&gt;&#039;;
	$option .= $pagg-&gt;post_title;
	$option .= &#039;&#039;;
	echo $option;
  }
 ?&gt;
</description>
		<content:encoded><![CDATA[<p>&lt;?php<br />
  $pages = get_pages();<br />
  foreach ($pages as $pagg) {<br />
  	$option = &#039;ID).'"&gt;';<br />
	$option .= $pagg-&gt;post_title;<br />
	$option .= '';<br />
	echo $option;<br />
  }<br />
 ?&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: matthew booth</title>
		<link>http://blogmum.com/2009/09/how-to-find-if-a-wordpress-page-has-children/#comment-2818</link>
		<dc:creator>matthew booth</dc:creator>
		<pubDate>Wed, 27 Jan 2010 17:30:45 +0000</pubDate>
		<guid isPermaLink="false">http://blogmum.com/?p=1440#comment-2818</guid>
		<description>nevermind *slaps forehead* it was on the get_pages() function reference page:

 
 
 
 &lt;?php 
  $pages = get_pages(); 
  foreach ($pages as $pagg) {
  	$option = &#039;ID).&#039;&quot;&gt;&#039;;
	$option .= $pagg-&gt;post_title;
	$option .= &#039;&#039;;
	echo $option;
  }
 ?&gt;
</description>
		<content:encoded><![CDATA[<p>nevermind *slaps forehead* it was on the get_pages() function reference page:</p>
<p> &lt;?php<br />
  $pages = get_pages();<br />
  foreach ($pages as $pagg) {<br />
  	$option = &#039;ID).'"&gt;';<br />
	$option .= $pagg-&gt;post_title;<br />
	$option .= '';<br />
	echo $option;<br />
  }<br />
 ?&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: matthew booth</title>
		<link>http://blogmum.com/2009/09/how-to-find-if-a-wordpress-page-has-children/#comment-2817</link>
		<dc:creator>matthew booth</dc:creator>
		<pubDate>Wed, 27 Jan 2010 17:27:56 +0000</pubDate>
		<guid isPermaLink="false">http://blogmum.com/?p=1440#comment-2817</guid>
		<description>actually, let me ask you this... I am trying to use wp_dropdown_pages() to create an html select dropdown of a certain pages children:  

wp_dropdown_pages(&#039;child_of=17&amp;name=select_state&amp;show_option_none=select a state&#039;)

the only problem I am having is with the url. wp_dropdown_pages only uses page id as the option value:

California

Using javascript/jQuery I am trying to do a page redirect using the select&#039;s onchange event. For the life of me I can not figure out how to use wp_dropdown_pages() as a menu.

Any ideas on how to create a select dropdown that will act as a menu? I was trying to figure out a way to use your code above to generate my own select dropdown and not use the built-in WP function.</description>
		<content:encoded><![CDATA[<p>actually, let me ask you this... I am trying to use wp_dropdown_pages() to create an html select dropdown of a certain pages children:  </p>
<p>wp_dropdown_pages('child_of=17&amp;name=select_state&amp;show_option_none=select a state')</p>
<p>the only problem I am having is with the url. wp_dropdown_pages only uses page id as the option value:</p>
<p>California</p>
<p>Using javascript/jQuery I am trying to do a page redirect using the select's onchange event. For the life of me I can not figure out how to use wp_dropdown_pages() as a menu.</p>
<p>Any ideas on how to create a select dropdown that will act as a menu? I was trying to figure out a way to use your code above to generate my own select dropdown and not use the built-in WP function.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: matthew booth</title>
		<link>http://blogmum.com/2009/09/how-to-find-if-a-wordpress-page-has-children/#comment-2816</link>
		<dc:creator>matthew booth</dc:creator>
		<pubDate>Wed, 27 Jan 2010 17:18:00 +0000</pubDate>
		<guid isPermaLink="false">http://blogmum.com/?p=1440#comment-2816</guid>
		<description>Wow... I have been looking for this information for a full day. Thanks!</description>
		<content:encoded><![CDATA[<p>Wow... I have been looking for this information for a full day. Thanks!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
