<?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: Listing Child pages with Excerpt</title>
	<atom:link href="http://gabejamison.com/wordpress/listing-child-pages-with-excerpt/feed" rel="self" type="application/rss+xml" />
	<link>http://gabejamison.com/wordpress/listing-child-pages-with-excerpt</link>
	<description></description>
	<lastBuildDate>Wed, 25 May 2011 01:21:45 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Gabe</title>
		<link>http://gabejamison.com/wordpress/listing-child-pages-with-excerpt/comment-page-1#comment-200</link>
		<dc:creator>Gabe</dc:creator>
		<pubDate>Wed, 25 May 2011 01:21:45 +0000</pubDate>
		<guid isPermaLink="false">http://gabejamison.com/?p=70#comment-200</guid>
		<description>Jeremy,
You will need to use the wp_pagination variable.  Something like:

&lt;code&gt;posts_per_page =&gt; 10&lt;/code&gt;

You will also need to add pagination links for when you have more than, in this case, 10 pieces of content.  Take a look at &lt;a href=&quot;http://codex.wordpress.org/Function_Reference/paginate_links&quot; rel=&quot;nofollow&quot;&gt;WP Function Reference - Paginate Links&lt;/a&gt; for an example.

You can also get more info here -&gt; &lt;a&gt;WP Function Reference - WP Query&lt;/a&gt;.

I&#039;m now using Thematic and have migrated most of my sites, so I will consider rewriting this &#039;How-To&#039; using Thematic.  The change has been wonderful and the migration is easier than you think.  If you are not using Thematic I encourage you to at least give it a shot.</description>
		<content:encoded><![CDATA[<p>Jeremy,<br />
You will need to use the wp_pagination variable.  Something like:</p>
<p><code>posts_per_page => 10</code></p>
<p>You will also need to add pagination links for when you have more than, in this case, 10 pieces of content.  Take a look at <a href="http://codex.wordpress.org/Function_Reference/paginate_links" rel="nofollow">WP Function Reference &#8211; Paginate Links</a> for an example.</p>
<p>You can also get more info here -&gt; <a>WP Function Reference &#8211; WP Query</a>.</p>
<p>I&#8217;m now using Thematic and have migrated most of my sites, so I will consider rewriting this &#8216;How-To&#8217; using Thematic.  The change has been wonderful and the migration is easier than you think.  If you are not using Thematic I encourage you to at least give it a shot.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gabe</title>
		<link>http://gabejamison.com/wordpress/listing-child-pages-with-excerpt/comment-page-1#comment-199</link>
		<dc:creator>Gabe</dc:creator>
		<pubDate>Wed, 25 May 2011 01:08:37 +0000</pubDate>
		<guid isPermaLink="false">http://gabejamison.com/?p=70#comment-199</guid>
		<description>If I understand what your asking, you will just need to add a class to the excerpt and then use CSS to add padding or margin to the class.</description>
		<content:encoded><![CDATA[<p>If I understand what your asking, you will just need to add a class to the excerpt and then use CSS to add padding or margin to the class.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeremy Referencement</title>
		<link>http://gabejamison.com/wordpress/listing-child-pages-with-excerpt/comment-page-1#comment-198</link>
		<dc:creator>Jeremy Referencement</dc:creator>
		<pubDate>Wed, 25 May 2011 00:35:55 +0000</pubDate>
		<guid isPermaLink="false">http://gabejamison.com/?p=70#comment-198</guid>
		<description>If I have too many pages and I want to create a page2, page3, how do you do it?</description>
		<content:encoded><![CDATA[<p>If I have too many pages and I want to create a page2, page3, how do you do it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ccelle</title>
		<link>http://gabejamison.com/wordpress/listing-child-pages-with-excerpt/comment-page-1#comment-197</link>
		<dc:creator>ccelle</dc:creator>
		<pubDate>Thu, 03 Mar 2011 20:08:36 +0000</pubDate>
		<guid isPermaLink="false">http://gabejamison.com/?p=70#comment-197</guid>
		<description>Hi,

I added your code which worked well. Now I need to space out each excerpt. How can I do this?

Thanks,
Carl</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I added your code which worked well. Now I need to space out each excerpt. How can I do this?</p>
<p>Thanks,<br />
Carl</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: GabeJamison.com » Listing Child pages with Excerpt &#124; @tapps&#039; bookmarks</title>
		<link>http://gabejamison.com/wordpress/listing-child-pages-with-excerpt/comment-page-1#comment-196</link>
		<dc:creator>GabeJamison.com » Listing Child pages with Excerpt &#124; @tapps&#039; bookmarks</dc:creator>
		<pubDate>Sat, 08 Jan 2011 10:24:14 +0000</pubDate>
		<guid isPermaLink="false">http://gabejamison.com/?p=70#comment-196</guid>
		<description>[...] GabeJamison.com » Listing Child pages with Excerpt.   This entry was posted in Uncategorized and tagged code, page, template, the_excerpt, webdev, wordpress. Bookmark the permalink.    &#8592; Automattic ThemeShaper &#124; Shaping WordPress Themes [...]</description>
		<content:encoded><![CDATA[<p>[...] GabeJamison.com » Listing Child pages with Excerpt.   This entry was posted in Uncategorized and tagged code, page, template, the_excerpt, webdev, wordpress. Bookmark the permalink.    &larr; Automattic ThemeShaper | Shaping WordPress Themes [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mart Gordon</title>
		<link>http://gabejamison.com/wordpress/listing-child-pages-with-excerpt/comment-page-1#comment-166</link>
		<dc:creator>Mart Gordon</dc:creator>
		<pubDate>Fri, 06 Aug 2010 12:34:53 +0000</pubDate>
		<guid isPermaLink="false">http://gabejamison.com/?p=70#comment-166</guid>
		<description>Thanks for this Gabe. I have modified it slightly by adding a variable to hold the Page ID before passing it to the parent_page argument. This allows me to have the list on all the subpages too.


ID;
		  if ($post-&gt;post_parent) {
		    $page = $post-&gt;post_parent;
		  }
		// Set up the arguments for retrieving the pages
		$args = array(
		    &#039;post_type&#039; =&gt; &#039;page&#039;,
		    &#039;numberposts&#039; =&gt; -1,
		    &#039;post_status&#039; =&gt; null,
		// $post-&gt;ID gets the ID of the current page
		&#039;post_parent&#039; =&gt; $page,
		    &#039;order&#039; =&gt; ASC,
		    &#039;orderby&#039; =&gt; title
		    );
		
		
		 $subpages = get_posts($args);
		 // Just another Wordpress Loop
		 foreach($subpages as $post) :
		    setup_postdata($post);
		 ?&gt;
</description>
		<content:encoded><![CDATA[<p>Thanks for this Gabe. I have modified it slightly by adding a variable to hold the Page ID before passing it to the parent_page argument. This allows me to have the list on all the subpages too.</p>
<p>ID;<br />
		  if ($post-&gt;post_parent) {<br />
		    $page = $post-&gt;post_parent;<br />
		  }<br />
		// Set up the arguments for retrieving the pages<br />
		$args = array(<br />
		    &#8216;post_type&#8217; =&gt; &#8216;page&#8217;,<br />
		    &#8216;numberposts&#8217; =&gt; -1,<br />
		    &#8216;post_status&#8217; =&gt; null,<br />
		// $post-&gt;ID gets the ID of the current page<br />
		&#8216;post_parent&#8217; =&gt; $page,<br />
		    &#8216;order&#8217; =&gt; ASC,<br />
		    &#8216;orderby&#8217; =&gt; title<br />
		    );</p>
<p>		 $subpages = get_posts($args);<br />
		 // Just another WordPress Loop<br />
		 foreach($subpages as $post) :<br />
		    setup_postdata($post);<br />
		 ?&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Poli Bou</title>
		<link>http://gabejamison.com/wordpress/listing-child-pages-with-excerpt/comment-page-1#comment-165</link>
		<dc:creator>Poli Bou</dc:creator>
		<pubDate>Fri, 04 Jun 2010 18:47:56 +0000</pubDate>
		<guid isPermaLink="false">http://gabejamison.com/?p=70#comment-165</guid>
		<description>Thanks for posting a full solution.  I&#039;ve looked around quite a bit and couldn&#039;t get other snippets to work.  I&#039;m even able to pull custom fields with this.  Awesome! :)</description>
		<content:encoded><![CDATA[<p>Thanks for posting a full solution.  I&#8217;ve looked around quite a bit and couldn&#8217;t get other snippets to work.  I&#8217;m even able to pull custom fields with this.  Awesome! <img src='http://gabejamison.com/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: calicosun</title>
		<link>http://gabejamison.com/wordpress/listing-child-pages-with-excerpt/comment-page-1#comment-150</link>
		<dc:creator>calicosun</dc:creator>
		<pubDate>Mon, 25 Jan 2010 00:49:51 +0000</pubDate>
		<guid isPermaLink="false">http://gabejamison.com/?p=70#comment-150</guid>
		<description>Ta for the heads up on the blue box! The site is for a client so I want to give them &#039;some&#039; flexibilty in making changes and updates.

It is also something I needed to know how to do for a couple of other websites I will be doing in the next few months - again, for clients who want to be able to tweak the copy. Obviously, if it was something that was going to change a lot such as latest news I would use posts.</description>
		<content:encoded><![CDATA[<p>Ta for the heads up on the blue box! The site is for a client so I want to give them &#8216;some&#8217; flexibilty in making changes and updates.</p>
<p>It is also something I needed to know how to do for a couple of other websites I will be doing in the next few months &#8211; again, for clients who want to be able to tweak the copy. Obviously, if it was something that was going to change a lot such as latest news I would use posts.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gabe</title>
		<link>http://gabejamison.com/wordpress/listing-child-pages-with-excerpt/comment-page-1#comment-149</link>
		<dc:creator>Gabe</dc:creator>
		<pubDate>Mon, 25 Jan 2010 00:28:04 +0000</pubDate>
		<guid isPermaLink="false">http://gabejamison.com/?p=70#comment-149</guid>
		<description>How often will that content be changing.  It looks like it is something that you would want to keep on the homepage for quite some time.  If that&#039;s the case, then you might think about just hard coding it into the template, or into a widget.  Unless those topics will be changing or rotating, it&#039;s probably not necessary to use this kind of script.</description>
		<content:encoded><![CDATA[<p>How often will that content be changing.  It looks like it is something that you would want to keep on the homepage for quite some time.  If that&#8217;s the case, then you might think about just hard coding it into the template, or into a widget.  Unless those topics will be changing or rotating, it&#8217;s probably not necessary to use this kind of script.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gabe</title>
		<link>http://gabejamison.com/wordpress/listing-child-pages-with-excerpt/comment-page-1#comment-148</link>
		<dc:creator>Gabe</dc:creator>
		<pubDate>Mon, 25 Jan 2010 00:11:52 +0000</pubDate>
		<guid isPermaLink="false">http://gabejamison.com/?p=70#comment-148</guid>
		<description>For the code text I created a style for pre tags that gives it the blue color and dashed border.  Then I surround all code with &lt;pre&gt; and &lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>For the code text I created a style for pre tags that gives it the blue color and dashed border.  Then I surround all code with &lt;pre&gt; and &lt;/pre&gt;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

