<?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: WordPress: displaying content outside the Loop</title>
	<atom:link href="http://www.jek2k.com/wp/2006/10/30/wordpress-displaying-content-outside-the-loop/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jek2k.com/wp/2006/10/30/wordpress-displaying-content-outside-the-loop/</link>
	<description>still awake at night?</description>
	<lastBuildDate>Sun, 10 Apr 2011 14:58:04 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Nicolò</title>
		<link>http://www.jek2k.com/wp/2006/10/30/wordpress-displaying-content-outside-the-loop/comment-page-1/#comment-23934</link>
		<dc:creator>Nicolò</dc:creator>
		<pubDate>Tue, 13 Oct 2009 11:29:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.jek2k.com/wp/index.php/2006/10/30/wordpress-displaying-content-outside-the-loop/#comment-23934</guid>
		<description>I wrote this article 3 years ago. As of today, there&#039;s a new function called &lt;strong&gt;get_posts()&lt;/strong&gt; which does the job very well. 
You can find more info here: http://codex.wordpress.org/Template_Tags/get_posts</description>
		<content:encoded><![CDATA[<p>I wrote this article 3 years ago. As of today, there&#8217;s a new function called <strong>get_posts()</strong> which does the job very well.<br />
You can find more info here: <a href="http://codex.wordpress.org/Template_Tags/get_posts" rel="nofollow">http://codex.wordpress.org/Template_Tags/get_posts</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: StrangeAttractor</title>
		<link>http://www.jek2k.com/wp/2006/10/30/wordpress-displaying-content-outside-the-loop/comment-page-1/#comment-23923</link>
		<dc:creator>StrangeAttractor</dc:creator>
		<pubDate>Tue, 13 Oct 2009 00:06:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.jek2k.com/wp/index.php/2006/10/30/wordpress-displaying-content-outside-the-loop/#comment-23923</guid>
		<description>This is quite helpful -- so the idea is to do this instead of a straight query_posts so that you don&#039;t reset the loop, right?  

Because if I create a special loop using query_posts on a page, for example, and then later on the same page want to run a condition -- e.g., if (page_is(&#039;my-page&#039;) ) -- WordPress will no longer know what page I&#039;m on because the loop has been reset by query_posts.  But if I&#039;ve understood you right here, using the WP_query class will avoid this problem, because you can just search within the object of the class?</description>
		<content:encoded><![CDATA[<p>This is quite helpful &#8212; so the idea is to do this instead of a straight query_posts so that you don&#8217;t reset the loop, right?  </p>
<p>Because if I create a special loop using query_posts on a page, for example, and then later on the same page want to run a condition &#8212; e.g., if (page_is(&#8217;my-page&#8217;) ) &#8212; WordPress will no longer know what page I&#8217;m on because the loop has been reset by query_posts.  But if I&#8217;ve understood you right here, using the WP_query class will avoid this problem, because you can just search within the object of the class?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

