<?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/"
	xmlns:media="http://search.yahoo.com/mrss/"	>
<channel>
	<title>Comments on: How to Display the Latest Sticky Posts in WordPress</title>
	<atom:link href="http://www.wpbeginner.com/wp-tutorials/how-to-display-the-latest-sticky-posts-in-wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.wpbeginner.com/wp-tutorials/how-to-display-the-latest-sticky-posts-in-wordpress/</link>
	<description>Beginner&#039;s Guide for WordPress</description>
	<lastBuildDate>Thu, 09 Feb 2012 16:04:12 +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: Rick Nielsen</title>
		<link>http://www.wpbeginner.com/wp-tutorials/how-to-display-the-latest-sticky-posts-in-wordpress/comment-page-1/#comment-86455</link>
		<dc:creator>Rick Nielsen</dc:creator>
		<pubDate>Sat, 12 Mar 2011 10:01:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.wpbeginner.com/?p=1034#comment-86455</guid>
		<description>How would the code look if I wanted to display only a custom post type that I created?

Thanks! Great work!
Rick</description>
		<content:encoded><![CDATA[<p>How would the code look if I wanted to display only a custom post type that I created?</p>
<p>Thanks! Great work!<br />
Rick</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: aljuk</title>
		<link>http://www.wpbeginner.com/wp-tutorials/how-to-display-the-latest-sticky-posts-in-wordpress/comment-page-1/#comment-50895</link>
		<dc:creator>aljuk</dc:creator>
		<pubDate>Sat, 20 Nov 2010 13:20:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.wpbeginner.com/?p=1034#comment-50895</guid>
		<description>Can&#039;t thank you enough, just what I was looking for!

I&#039;ve used it like this, to show the latest sticky (if one exists) or the latest post (if there are no stickies) :

if (get_option(&#039;sticky_posts&#039;)) {
	$sticky = get_option(&#039;sticky_posts&#039;);
	rsort($sticky);
	$sticky = array_slice( $sticky, 0, 1 );
	query_posts(array(&#039;post__in&#039;=&gt;$sticky,&#039;caller_get_posts&#039;=&gt;1));
	}
else {
	query_posts(&#039;showposts=1&#039;);
}

followed by the loop.</description>
		<content:encoded><![CDATA[<p>Can&#8217;t thank you enough, just what I was looking for!</p>
<p>I&#8217;ve used it like this, to show the latest sticky (if one exists) or the latest post (if there are no stickies) :</p>
<p>if (get_option(&#8216;sticky_posts&#8217;)) {<br />
	$sticky = get_option(&#8216;sticky_posts&#8217;);<br />
	rsort($sticky);<br />
	$sticky = array_slice( $sticky, 0, 1 );<br />
	query_posts(array(&#8216;post__in&#8217;=&gt;$sticky,&#8217;caller_get_posts&#8217;=&gt;1));<br />
	}<br />
else {<br />
	query_posts(&#8216;showposts=1&#8242;);<br />
}</p>
<p>followed by the loop.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://www.wpbeginner.com/wp-tutorials/how-to-display-the-latest-sticky-posts-in-wordpress/comment-page-1/#comment-40648</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Thu, 07 Oct 2010 05:16:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.wpbeginner.com/?p=1034#comment-40648</guid>
		<description>I have to agree with Pete.  This article is too much theory and note enough practice (i.e. usage examples).</description>
		<content:encoded><![CDATA[<p>I have to agree with Pete.  This article is too much theory and note enough practice (i.e. usage examples).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pete</title>
		<link>http://www.wpbeginner.com/wp-tutorials/how-to-display-the-latest-sticky-posts-in-wordpress/comment-page-1/#comment-20860</link>
		<dc:creator>Pete</dc:creator>
		<pubDate>Mon, 07 Jun 2010 13:26:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.wpbeginner.com/?p=1034#comment-20860</guid>
		<description>Sorry, I&#039;m none the wiser. :(</description>
		<content:encoded><![CDATA[<p>Sorry, I&#8217;m none the wiser. <img src='http://cdn.wpbeginner.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Editorial Staff</title>
		<link>http://www.wpbeginner.com/wp-tutorials/how-to-display-the-latest-sticky-posts-in-wordpress/comment-page-1/#comment-20858</link>
		<dc:creator>Editorial Staff</dc:creator>
		<pubDate>Mon, 07 Jun 2010 12:30:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.wpbeginner.com/?p=1034#comment-20858</guid>
		<description>Use the loop link we recommend to look at the codex. We will not add the line if have post, while have post. There is no need to repeat ourselves, that is why we link to other articles such as making custom pages, and the loop page in the codex. So this simple article doesn&#039;t become overbloated.</description>
		<content:encoded><![CDATA[<p>Use the loop link we recommend to look at the codex. We will not add the line if have post, while have post. There is no need to repeat ourselves, that is why we link to other articles such as making custom pages, and the loop page in the codex. So this simple article doesn&#8217;t become overbloated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pete</title>
		<link>http://www.wpbeginner.com/wp-tutorials/how-to-display-the-latest-sticky-posts-in-wordpress/comment-page-1/#comment-20835</link>
		<dc:creator>Pete</dc:creator>
		<pubDate>Mon, 07 Jun 2010 06:40:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.wpbeginner.com/?p=1034#comment-20835</guid>
		<description>Can you modify this (show us the loop code as well) to show us how to display a simple list of sticky posts?

thanks :)</description>
		<content:encoded><![CDATA[<p>Can you modify this (show us the loop code as well) to show us how to display a simple list of sticky posts?</p>
<p>thanks <img src='http://cdn.wpbeginner.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Editorial Staff</title>
		<link>http://www.wpbeginner.com/wp-tutorials/how-to-display-the-latest-sticky-posts-in-wordpress/comment-page-1/#comment-9282</link>
		<dc:creator>Editorial Staff</dc:creator>
		<pubDate>Wed, 17 Feb 2010 16:28:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.wpbeginner.com/?p=1034#comment-9282</guid>
		<description>We offer tutorials for all levels of WordPress Users. Beginners guide category and Showcase category are mostly for beginners. Theme editing, Tutorials, require prior knowledge. To make template changes, you need to know what the loop is. We provided the link in the article that explains what the loop is. Unfortunately, we cannot define what loop is in all of our articles because it is a concept that is a must know before you try to do any template editing.

We explained what each code in the query is doing. If you need individual help, you may use our contact form to contact us.</description>
		<content:encoded><![CDATA[<p>We offer tutorials for all levels of WordPress Users. Beginners guide category and Showcase category are mostly for beginners. Theme editing, Tutorials, require prior knowledge. To make template changes, you need to know what the loop is. We provided the link in the article that explains what the loop is. Unfortunately, we cannot define what loop is in all of our articles because it is a concept that is a must know before you try to do any template editing.</p>
<p>We explained what each code in the query is doing. If you need individual help, you may use our contact form to contact us.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://www.wpbeginner.com/wp-tutorials/how-to-display-the-latest-sticky-posts-in-wordpress/comment-page-1/#comment-9278</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Wed, 17 Feb 2010 15:54:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.wpbeginner.com/?p=1034#comment-9278</guid>
		<description>This is a website for beginners, can&#039;t you dumb this down a little bit more?</description>
		<content:encoded><![CDATA[<p>This is a website for beginners, can&#8217;t you dumb this down a little bit more?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cómo colocar tus Sticky Posts en cualquier parte del sitio WordPress</title>
		<link>http://www.wpbeginner.com/wp-tutorials/how-to-display-the-latest-sticky-posts-in-wordpress/comment-page-1/#comment-4173</link>
		<dc:creator>Cómo colocar tus Sticky Posts en cualquier parte del sitio WordPress</dc:creator>
		<pubDate>Thu, 29 Oct 2009 03:05:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.wpbeginner.com/?p=1034#comment-4173</guid>
		<description>[...] WP Beginner             (Sin votos) &#160;Loading [...]</description>
		<content:encoded><![CDATA[<p>[...] WP Beginner             (Sin votos) &nbsp;Loading [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: A List of Awesome WordPress Blogs to Follow</title>
		<link>http://www.wpbeginner.com/wp-tutorials/how-to-display-the-latest-sticky-posts-in-wordpress/comment-page-1/#comment-4091</link>
		<dc:creator>A List of Awesome WordPress Blogs to Follow</dc:creator>
		<pubDate>Tue, 27 Oct 2009 22:55:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.wpbeginner.com/?p=1034#comment-4091</guid>
		<description>[...] How to Display the Latest Sticky Posts in WordPress [...]</description>
		<content:encoded><![CDATA[<p>[...] How to Display the Latest Sticky Posts in WordPress [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Content Delivery Network via cdn.wpbeginner.com

Served from: www.wpbeginner.com @ 2012-02-10 00:18:37 -->
