<?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: Display title &amp; excerpt of child pages</title>
	<atom:link href="http://wpguru.co.za/page/display-title-excerpt-of-child-pages/feed/" rel="self" type="application/rss+xml" />
	<link>http://wpguru.co.za/templates/page/display-title-excerpt-of-child-pages/</link>
	<description>Tips &#38; Pointers on Making a Killer CMS with WordPress</description>
	<lastBuildDate>Sun, 25 Jul 2010 23:11:05 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: John Crumpton</title>
		<link>http://wpguru.co.za/templates/page/display-title-excerpt-of-child-pages/comment-page-1/#comment-555</link>
		<dc:creator>John Crumpton</dc:creator>
		<pubDate>Mon, 03 May 2010 00:35:26 +0000</pubDate>
		<guid isPermaLink="false">http://wpguru.co.za/?p=10#comment-555</guid>
		<description>I was having problems getting this to work and found an alternative at http://www.snilesh.com/resources/wordpress/wordpress-hacks-and-tricks/wordpress-show-title-and-excerpt-of-child-pages-on-parent-page

Hope that helps</description>
		<content:encoded><![CDATA[<p>I was having problems getting this to work and found an alternative at <a href="http://www.snilesh.com/resources/wordpress/wordpress-hacks-and-tricks/wordpress-show-title-and-excerpt-of-child-pages-on-parent-page" rel="nofollow">http://www.snilesh.com/resources/wordpress/wordpress-hacks-and-tricks/wordpress-show-title-and-excerpt-of-child-pages-on-parent-page</a></p>
<p>Hope that helps</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lene</title>
		<link>http://wpguru.co.za/templates/page/display-title-excerpt-of-child-pages/comment-page-1/#comment-431</link>
		<dc:creator>Lene</dc:creator>
		<pubDate>Sun, 21 Feb 2010 21:17:18 +0000</pubDate>
		<guid isPermaLink="false">http://wpguru.co.za/?p=10#comment-431</guid>
		<description>It&#039;s me again.
I see now, that the signs are converted on this site, so that you don&#039;t see any difference, but maybe you&#039;ll pay attention to using the correct “ ” and ‘ ‘
...</description>
		<content:encoded><![CDATA[<p>It&#8217;s me again.<br />
I see now, that the signs are converted on this site, so that you don&#8217;t see any difference, but maybe you&#8217;ll pay attention to using the correct “ ” and ‘ ‘<br />
&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lene</title>
		<link>http://wpguru.co.za/templates/page/display-title-excerpt-of-child-pages/comment-page-1/#comment-430</link>
		<dc:creator>Lene</dc:creator>
		<pubDate>Sun, 21 Feb 2010 21:15:03 +0000</pubDate>
		<guid isPermaLink="false">http://wpguru.co.za/?p=10#comment-430</guid>
		<description>Thanks a lot - works fine now!

Just a few notes from me:

1. When you copy and past the code from this site, you may - like me - have troubles because of the special signs in the code: 

get_results(”SELECT * FROM $wpdb-&gt;posts WHERE post_parent = “.$post-&gt;ID.” AND post_type = ‘page’ ORDER BY menu_order”, ‘OBJECT’); ?&gt;

To solve the error in execution, I replaced the 
“ by &quot; and ‘ by &#039; 
e.g. ”SELECT becomes &quot;SELECT
e.g. ‘page’ becomes &#039;page&#039;
- and then it worked!

2. To correct the SELECT statement to only search for published pages, after 

AND post_type = &#039;page&#039;

add this:
AND post_status = &#039;publish&#039;</description>
		<content:encoded><![CDATA[<p>Thanks a lot &#8211; works fine now!</p>
<p>Just a few notes from me:</p>
<p>1. When you copy and past the code from this site, you may &#8211; like me &#8211; have troubles because of the special signs in the code: </p>
<p>get_results(”SELECT * FROM $wpdb-&gt;posts WHERE post_parent = “.$post-&gt;ID.” AND post_type = ‘page’ ORDER BY menu_order”, ‘OBJECT’); ?&gt;</p>
<p>To solve the error in execution, I replaced the<br />
“ by &#8221; and ‘ by &#8216;<br />
e.g. ”SELECT becomes &#8220;SELECT<br />
e.g. ‘page’ becomes &#8216;page&#8217;<br />
- and then it worked!</p>
<p>2. To correct the SELECT statement to only search for published pages, after </p>
<p>AND post_type = &#8216;page&#8217;</p>
<p>add this:<br />
AND post_status = &#8216;publish&#8217;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian</title>
		<link>http://wpguru.co.za/templates/page/display-title-excerpt-of-child-pages/comment-page-1/#comment-415</link>
		<dc:creator>Brian</dc:creator>
		<pubDate>Mon, 11 Jan 2010 07:35:52 +0000</pubDate>
		<guid isPermaLink="false">http://wpguru.co.za/?p=10#comment-415</guid>
		<description>@JanEg

Your code works perfectly!

By the way, I&#039;m able to pull in custom field values as well as regulary wordpress loop stuff...

Nice!</description>
		<content:encoded><![CDATA[<p>@JanEg</p>
<p>Your code works perfectly!</p>
<p>By the way, I&#8217;m able to pull in custom field values as well as regulary wordpress loop stuff&#8230;</p>
<p>Nice!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gary</title>
		<link>http://wpguru.co.za/templates/page/display-title-excerpt-of-child-pages/comment-page-1/#comment-404</link>
		<dc:creator>Gary</dc:creator>
		<pubDate>Mon, 14 Dec 2009 21:58:06 +0000</pubDate>
		<guid isPermaLink="false">http://wpguru.co.za/?p=10#comment-404</guid>
		<description>It may be worth adding a reminder that you&#039;ll need to  add:
global $wpdb;
at the start of any custom function that attempts to use the code - otherwise it&#039;ll either just silently fail, or more likely, die at the point of the query.

Otherwise, thanks for sharing!</description>
		<content:encoded><![CDATA[<p>It may be worth adding a reminder that you&#8217;ll need to  add:<br />
global $wpdb;<br />
at the start of any custom function that attempts to use the code &#8211; otherwise it&#8217;ll either just silently fail, or more likely, die at the point of the query.</p>
<p>Otherwise, thanks for sharing!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JanEg</title>
		<link>http://wpguru.co.za/templates/page/display-title-excerpt-of-child-pages/comment-page-1/#comment-401</link>
		<dc:creator>JanEg</dc:creator>
		<pubDate>Tue, 08 Dec 2009 09:56:29 +0000</pubDate>
		<guid isPermaLink="false">http://wpguru.co.za/?p=10#comment-401</guid>
		<description>Try this: 
` &#039;page&#039;, 
			&#039;meta_value&#039;=&gt; &#039;voorpagina&#039;,
			&#039;order&#039;=&gt;&#039;ASC&#039;,
			));?&gt;
			`

--- the_title and the_content here ---</description>
		<content:encoded><![CDATA[<p>Try this:<br />
` &#8216;page&#8217;,<br />
			&#8216;meta_value&#8217;=&gt; &#8216;voorpagina&#8217;,<br />
			&#8216;order&#8217;=&gt;&#8217;ASC&#8217;,<br />
			));?&gt;<br />
			`</p>
<p>&#8212; the_title and the_content here &#8212;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jack Osborne</title>
		<link>http://wpguru.co.za/templates/page/display-title-excerpt-of-child-pages/comment-page-1/#comment-400</link>
		<dc:creator>Jack Osborne</dc:creator>
		<pubDate>Tue, 08 Dec 2009 00:31:12 +0000</pubDate>
		<guid isPermaLink="false">http://wpguru.co.za/?p=10#comment-400</guid>
		<description>I&#039;ve implemented the first block of code and I&#039;ve changed the_excerpt to the_content and everything is working great, so thats for that. However, this might just be a caching problem but when I have a page in draft it still gets pulled out and displayed on the parent page. Is there a way around this?</description>
		<content:encoded><![CDATA[<p>I&#8217;ve implemented the first block of code and I&#8217;ve changed the_excerpt to the_content and everything is working great, so thats for that. However, this might just be a caching problem but when I have a page in draft it still gets pulled out and displayed on the parent page. Is there a way around this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Crazy81</title>
		<link>http://wpguru.co.za/templates/page/display-title-excerpt-of-child-pages/comment-page-1/#comment-384</link>
		<dc:creator>Crazy81</dc:creator>
		<pubDate>Thu, 22 Oct 2009 20:19:06 +0000</pubDate>
		<guid isPermaLink="false">http://wpguru.co.za/?p=10#comment-384</guid>
		<description>The Magliozzis previously took a break at approximately the half-hour mark of the show. ,</description>
		<content:encoded><![CDATA[<p>The Magliozzis previously took a break at approximately the half-hour mark of the show. ,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stinky82</title>
		<link>http://wpguru.co.za/templates/page/display-title-excerpt-of-child-pages/comment-page-1/#comment-383</link>
		<dc:creator>Stinky82</dc:creator>
		<pubDate>Thu, 22 Oct 2009 20:17:29 +0000</pubDate>
		<guid isPermaLink="false">http://wpguru.co.za/?p=10#comment-383</guid>
		<description>Some of these I would have never have thought of. ,</description>
		<content:encoded><![CDATA[<p>Some of these I would have never have thought of. ,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: iaan</title>
		<link>http://wpguru.co.za/templates/page/display-title-excerpt-of-child-pages/comment-page-1/#comment-289</link>
		<dc:creator>iaan</dc:creator>
		<pubDate>Thu, 04 Jun 2009 11:59:35 +0000</pubDate>
		<guid isPermaLink="false">http://wpguru.co.za/?p=10#comment-289</guid>
		<description>Thanks for the code - not so readily available as one might think...

My question - when &quot;pulling&quot; the subpage content, it seems that WP core code is not rendered correctly. Such as a wp gallery in the subpage or a wp caption to a photo.

Any idea how to sort this out?</description>
		<content:encoded><![CDATA[<p>Thanks for the code &#8211; not so readily available as one might think&#8230;</p>
<p>My question &#8211; when &#8220;pulling&#8221; the subpage content, it seems that WP core code is not rendered correctly. Such as a wp gallery in the subpage or a wp caption to a photo.</p>
<p>Any idea how to sort this out?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
