<?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 recent posts in WordPress sidebar</title>
	<atom:link href="http://wpgarage.com/code-snippets/display-recent-posts-in-wordpress-sidebar/feed/" rel="self" type="application/rss+xml" />
	<link>http://wpgarage.com/code-snippets/display-recent-posts-in-wordpress-sidebar/</link>
	<description>wordpress tricks, hacks, and tips</description>
	<lastBuildDate>Thu, 26 Jan 2012 06:40:24 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: vivek</title>
		<link>http://wpgarage.com/code-snippets/display-recent-posts-in-wordpress-sidebar/#comment-62945</link>
		<dc:creator>vivek</dc:creator>
		<pubDate>Fri, 25 Nov 2011 17:13:02 +0000</pubDate>
		<guid isPermaLink="false">http://wordpressgarage.com/code-snippets/display-recent-posts-in-wordpress-sidebar/#comment-62945</guid>
		<description>I think it is outdated</description>
		<content:encoded><![CDATA[<p>I think it is outdated</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MiX</title>
		<link>http://wpgarage.com/code-snippets/display-recent-posts-in-wordpress-sidebar/#comment-62778</link>
		<dc:creator>MiX</dc:creator>
		<pubDate>Sun, 02 Oct 2011 08:28:01 +0000</pubDate>
		<guid isPermaLink="false">http://wordpressgarage.com/code-snippets/display-recent-posts-in-wordpress-sidebar/#comment-62778</guid>
		<description>April Hodge,
Wasn&#039;t that you have that feature at the footer? </description>
		<content:encoded><![CDATA[<p>April Hodge,<br />
Wasn&#8217;t that you have that feature at the footer? </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: April Hodge</title>
		<link>http://wpgarage.com/code-snippets/display-recent-posts-in-wordpress-sidebar/#comment-62774</link>
		<dc:creator>April Hodge</dc:creator>
		<pubDate>Fri, 30 Sep 2011 10:33:39 +0000</pubDate>
		<guid isPermaLink="false">http://wordpressgarage.com/code-snippets/display-recent-posts-in-wordpress-sidebar/#comment-62774</guid>
		<description>Hi, I am needing to put the top 5 latest posts of phpbb in my wordpress theme footer, with this code how do i implement it and where do I link the forum webpage? HELP!! very important asap!
This is the website I will be using it on www.makeupadviceforum.com</description>
		<content:encoded><![CDATA[<p>Hi, I am needing to put the top 5 latest posts of phpbb in my wordpress theme footer, with this code how do i implement it and where do I link the forum webpage? HELP!! very important asap!<br />
This is the website I will be using it on <a href="http://www.makeupadviceforum.com" rel="nofollow">http://www.makeupadviceforum.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jornes</title>
		<link>http://wpgarage.com/code-snippets/display-recent-posts-in-wordpress-sidebar/#comment-62750</link>
		<dc:creator>jornes</dc:creator>
		<pubDate>Sat, 10 Sep 2011 20:29:58 +0000</pubDate>
		<guid isPermaLink="false">http://wordpressgarage.com/code-snippets/display-recent-posts-in-wordpress-sidebar/#comment-62750</guid>
		<description>The code not working.</description>
		<content:encoded><![CDATA[<p>The code not working.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jornes</title>
		<link>http://wpgarage.com/code-snippets/display-recent-posts-in-wordpress-sidebar/#comment-62749</link>
		<dc:creator>jornes</dc:creator>
		<pubDate>Sat, 10 Sep 2011 03:53:10 +0000</pubDate>
		<guid isPermaLink="false">http://wordpressgarage.com/code-snippets/display-recent-posts-in-wordpress-sidebar/#comment-62749</guid>
		<description>Hi Sir,
I&#039;ve tried to put this code at my footer part, but it doesn&#039;t work for me. Is there any solution? The theme that i using, the side bar is under my post space one.

But i need this code for recent post badly.

Hope to get a solution for my blog. Although my blog is in chinese characters. But you are feel free to take a look at my blog layout.
http://www.fall4lonely.com 

I succeed to moved the categories code to my footer part. Hope that i can have recent post as well. =) </description>
		<content:encoded><![CDATA[<p>Hi Sir,<br />
I&#8217;ve tried to put this code at my footer part, but it doesn&#8217;t work for me. Is there any solution? The theme that i using, the side bar is under my post space one.</p>
<p>But i need this code for recent post badly.</p>
<p>Hope to get a solution for my blog. Although my blog is in chinese characters. But you are feel free to take a look at my blog layout.<br />
<a href="http://www.fall4lonely.com" rel="nofollow">http://www.fall4lonely.com</a> </p>
<p>I succeed to moved the categories code to my footer part. Hope that i can have recent post as well. =) </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jdk</title>
		<link>http://wpgarage.com/code-snippets/display-recent-posts-in-wordpress-sidebar/#comment-62448</link>
		<dc:creator>jdk</dc:creator>
		<pubDate>Mon, 06 Jun 2011 17:42:58 +0000</pubDate>
		<guid isPermaLink="false">http://wordpressgarage.com/code-snippets/display-recent-posts-in-wordpress-sidebar/#comment-62448</guid>
		<description>Not working :(</description>
		<content:encoded><![CDATA[<p>Not working <img src='http://wpgarage.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Panoz</title>
		<link>http://wpgarage.com/code-snippets/display-recent-posts-in-wordpress-sidebar/#comment-62199</link>
		<dc:creator>Panoz</dc:creator>
		<pubDate>Sun, 06 Mar 2011 20:23:19 +0000</pubDate>
		<guid isPermaLink="false">http://wordpressgarage.com/code-snippets/display-recent-posts-in-wordpress-sidebar/#comment-62199</guid>
		<description>Unfortunately this is not working for me....
 
I have tried several variants of the above code and its still doesnt work.
The difference is that I&#039;m not using the code into the widget but to the php file.
 
My current command is
&lt;?php wp_get_archives(&#039;type=postbypost&amp;limit=5&#039;); ?&gt;

but this it displays the latest 5 posts which are already displayed in full on my home page.
 
Any help?</description>
		<content:encoded><![CDATA[<p>Unfortunately this is not working for me&#8230;.<br />
 <br />
I have tried several variants of the above code and its still doesnt work.<br />
The difference is that I&#8217;m not using the code into the widget but to the php file.<br />
 <br />
My current command is<br />
&lt;?php wp_get_archives(&#8216;type=postbypost&amp;limit=5&#8242;); ?&gt;</p>
<p>but this it displays the latest 5 posts which are already displayed in full on my home page.<br />
 <br />
Any help?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sean</title>
		<link>http://wpgarage.com/code-snippets/display-recent-posts-in-wordpress-sidebar/#comment-62164</link>
		<dc:creator>Sean</dc:creator>
		<pubDate>Sat, 19 Feb 2011 23:03:06 +0000</pubDate>
		<guid isPermaLink="false">http://wordpressgarage.com/code-snippets/display-recent-posts-in-wordpress-sidebar/#comment-62164</guid>
		<description>:s</description>
		<content:encoded><![CDATA[<p>:s</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lavern, the BBQ Smoker Guy</title>
		<link>http://wpgarage.com/code-snippets/display-recent-posts-in-wordpress-sidebar/#comment-61783</link>
		<dc:creator>Lavern, the BBQ Smoker Guy</dc:creator>
		<pubDate>Tue, 09 Nov 2010 03:45:01 +0000</pubDate>
		<guid isPermaLink="false">http://wordpressgarage.com/code-snippets/display-recent-posts-in-wordpress-sidebar/#comment-61783</guid>
		<description>How would I add these links to a my sidebar on pages outside of Wordpress, but on the same site?</description>
		<content:encoded><![CDATA[<p>How would I add these links to a my sidebar on pages outside of WordPress, but on the same site?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Katie</title>
		<link>http://wpgarage.com/code-snippets/display-recent-posts-in-wordpress-sidebar/#comment-61545</link>
		<dc:creator>Katie</dc:creator>
		<pubDate>Thu, 26 Aug 2010 08:01:07 +0000</pubDate>
		<guid isPermaLink="false">http://wordpressgarage.com/code-snippets/display-recent-posts-in-wordpress-sidebar/#comment-61545</guid>
		<description>One problem with the above code is when you call that function in your sidebar which is called before the start of the loop in single.php. Your single.php file will list down all the articles of your blog post irrespective of the one which is called.

In such cases, you can also use


&lt;strong&gt;&lt;?php wp_get_archives(&#039;title_li=&amp;type=postbypost&amp;limit=10&#039;); ?&gt;&lt;/strong&gt;

This will list down latest 10 posts in ul, li format. This is bit easier.



</description>
		<content:encoded><![CDATA[<p>One problem with the above code is when you call that function in your sidebar which is called before the start of the loop in single.php. Your single.php file will list down all the articles of your blog post irrespective of the one which is called.</p>
<p>In such cases, you can also use</p>
<p><strong>&lt;?php wp_get_archives(&#8216;title_li=&amp;type=postbypost&amp;limit=10&#8242;); ?&gt;</strong></p>
<p>This will list down latest 10 posts in ul, li format. This is bit easier.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

