<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>WordPress &#8250; Support Topic: summary of recent posts in single post template</title>
<link>http://wordpress.org/support/</link>
<description>WordPress &#8250; Support Topic: summary of recent posts in single post template</description>
<language>en</language>
<pubDate>Thu, 26 Nov 2009 13:41:31 +0000</pubDate>

<item>
<title>MichaelH on "summary of recent posts in single post template"</title>
<link>http://wordpress.org/support/topic/245668#post-992500</link>
<pubDate>Fri, 20 Feb 2009 13:22:29 +0000</pubDate>
<dc:creator>MichaelH</dc:creator>
<guid isPermaLink="false">992500@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Or a plugin such as &#60;a href=&#34;http://wordpress.org/extend/plugins/recent-posts-plugin/&#34; rel=&#34;nofollow&#34;&#62;http://wordpress.org/extend/plugins/recent-posts-plugin/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;or this:&#60;br /&#62;
&#60;a href=&#34;http://wordpress.org/support/topic/245235&#34; rel=&#34;nofollow&#34;&#62;http://wordpress.org/support/topic/245235&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>t31os on "summary of recent posts in single post template"</title>
<link>http://wordpress.org/support/topic/245668#post-992214</link>
<pubDate>Fri, 20 Feb 2009 04:44:58 +0000</pubDate>
<dc:creator>t31os</dc:creator>
<guid isPermaLink="false">992214@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Or what Michael suggested...&#60;/p&#62;
&#60;p&#62;Depends what's easiest i guess... ;)
&#60;/p&#62;</description>
</item>
<item>
<title>MichaelH on "summary of recent posts in single post template"</title>
<link>http://wordpress.org/support/topic/245668#post-992192</link>
<pubDate>Fri, 20 Feb 2009 04:33:07 +0000</pubDate>
<dc:creator>MichaelH</dc:creator>
<guid isPermaLink="false">992192@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Or use a new WP Query&#60;br /&#62;
&#60;a href=&#34;http://weblogtoolscollection.com/archives/2008/04/13/define-your-own-wordpress-loop-using-wp_query/&#34; rel=&#34;nofollow&#34;&#62;http://weblogtoolscollection.com/archives/2008/04/13/define-your-own-wordpress-loop-using-wp_query/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;or a get_posts loop.&#60;br /&#62;
&#60;a href=&#34;http://www.daobydesign.com/blog/2007/07/modifying-wordpress-front-page/&#34; rel=&#34;nofollow&#34;&#62;http://www.daobydesign.com/blog/2007/07/modifying-wordpress-front-page/&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>t31os on "summary of recent posts in single post template"</title>
<link>http://wordpress.org/support/topic/245668#post-992182</link>
<pubDate>Fri, 20 Feb 2009 04:17:16 +0000</pubDate>
<dc:creator>t31os</dc:creator>
<guid isPermaLink="false">992182@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Just to be clear, this is your single post theme file (single.php) and above the post listed you want to show a summary of recent posts from the same category?&#60;/p&#62;
&#60;p&#62;If that's the case, you'd better doing this in your index or header file, you need to check when viewing a singular page and include the content when true....&#60;/p&#62;
&#60;p&#62;This would remove the issue you're having by including query_posts in single.php....&#60;/p&#62;
&#60;p&#62;I think.. :-s
&#60;/p&#62;</description>
</item>
<item>
<title>danaherlihey on "summary of recent posts in single post template"</title>
<link>http://wordpress.org/support/topic/245668#post-992172</link>
<pubDate>Fri, 20 Feb 2009 04:03:29 +0000</pubDate>
<dc:creator>danaherlihey</dc:creator>
<guid isPermaLink="false">992172@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I'm trying to include a summary of recent posts from a specific category to appear in a single post template.&#60;/p&#62;
&#60;p&#62;So far I have:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;h1&#38;gt;Latest News&#38;lt;/h1&#38;gt;
   &#38;lt;?php query_posts(&#38;#39;category_name=news&#38;#38;showposts=4&#38;#39;);
  						while (have_posts()) : the_post();
 						 ?&#38;gt;

				&#38;lt;a class=&#38;quot;title&#38;quot; href=&#38;quot;&#38;lt;?php the_permalink() ?&#38;gt;&#38;quot; rel=&#38;quot;bookmark&#38;quot; title=&#38;quot;Read the feature article: &#38;lt;?php the_title(); ?&#38;gt;&#38;quot;&#38;gt;&#38;lt;?php the_title(); ?&#38;gt;&#38;lt;/a&#38;gt;

			&#38;lt;?php global $more; $more = false; ?&#38;gt;
				&#38;lt;span class=&#38;quot;readmore_g&#38;quot;&#38;gt;&#38;lt;?php the_content(&#38;#39;&#38;lt;br /&#38;gt;Read More&#38;#39;); ?&#38;gt;&#38;lt;/span&#38;gt;
                &#38;lt;?php $more = true; ?&#38;gt;

              &#38;lt;?php endwhile; ?&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;This is followed by the loop for the regular single post. The problem is that it shows 4 full posts in the single view instead of one (obviously because of the showpost)&#60;/p&#62;
&#60;p&#62;any suggestions?
&#60;/p&#62;</description>
</item>

</channel>
</rss>
