<?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: Strange Things With Sticky Posts</title>
	<atom:link href="http://wpengineer.com/293/strange-things-with-sticky-posts/feed/" rel="self" type="application/rss+xml" />
	<link>http://wpengineer.com/293/strange-things-with-sticky-posts/</link>
	<description>WordPress News, Hacks, Tips, Tutorials, Plugins and Themes</description>
	<lastBuildDate>Wed, 08 Feb 2012 19:48:58 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Audrius</title>
		<link>http://wpengineer.com/293/strange-things-with-sticky-posts/#comment-3395</link>
		<dc:creator>Audrius</dc:creator>
		<pubDate>Tue, 02 Feb 2010 21:12:23 +0000</pubDate>
		<guid isPermaLink="false">http://wpengineer.com/?p=293#comment-3395</guid>
		<description>at first sight it was OK, but ...
with first page everything is OK, but second page misses one post (the first one in second page) but total number is correct. I think it is because that sticky post also is shown in second page but not in first position (in the place where it should be as common post)</description>
		<content:encoded><![CDATA[<p>at first sight it was OK, but ...<br />
with first page everything is OK, but second page misses one post (the first one in second page) but total number is correct. I think it is because that sticky post also is shown in second page but not in first position (in the place where it should be as common post)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://wpengineer.com/293/strange-things-with-sticky-posts/#comment-3394</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Tue, 02 Feb 2010 20:57:16 +0000</pubDate>
		<guid isPermaLink="false">http://wpengineer.com/?p=293#comment-3394</guid>
		<description>@Audrius: try that one:
&lt;code&gt;
$sticky = count(get_option(&#039;sticky_posts&#039;)); 
if(is_paged()){
$sticky = 0;
}
query_posts(&#039;showposts=&#039;. ( 6 - $sticky ));
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>@Audrius: try that one:<br />
<code><br />
$sticky = count(get_option('sticky_posts'));<br />
if(is_paged()){<br />
$sticky = 0;<br />
}<br />
query_posts('showposts='. ( 6 - $sticky ));<br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Audrius</title>
		<link>http://wpengineer.com/293/strange-things-with-sticky-posts/#comment-3393</link>
		<dc:creator>Audrius</dc:creator>
		<pubDate>Tue, 02 Feb 2010 20:34:42 +0000</pubDate>
		<guid isPermaLink="false">http://wpengineer.com/?p=293#comment-3393</guid>
		<description>Well it works only with first page. for ex. i have one sticky post and i have 99 more posts and i want show them by 20 posts per page. So i get that in first page i got 20 posts, but in all others i got 19 (20-$sticky).

Anybody know how to solve it in all pages?&gt;</description>
		<content:encoded><![CDATA[<p>Well it works only with first page. for ex. i have one sticky post and i have 99 more posts and i want show them by 20 posts per page. So i get that in first page i got 20 posts, but in all others i got 19 (20-$sticky).</p>
<p>Anybody know how to solve it in all pages?&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Xtremegang &#187; Blog Archive &#187; Sticky Posts Guide for WordPress 2.7</title>
		<link>http://wpengineer.com/293/strange-things-with-sticky-posts/#comment-1386</link>
		<dc:creator>Xtremegang &#187; Blog Archive &#187; Sticky Posts Guide for WordPress 2.7</dc:creator>
		<pubDate>Fri, 26 Jun 2009 14:05:29 +0000</pubDate>
		<guid isPermaLink="false">http://wpengineer.com/?p=293#comment-1386</guid>
		<description>[...] there is one caveat as pointed out by Michael at WPEngineer.com — sticky posts don’t simply get “pulled to the front of the line”.  In fact, if you’re [...]</description>
		<content:encoded><![CDATA[<p>[...] there is one caveat as pointed out by Michael at WPEngineer.com — sticky posts don’t simply get “pulled to the front of the line”.  In fact, if you’re [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://wpengineer.com/293/strange-things-with-sticky-posts/#comment-456</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Tue, 13 Jan 2009 21:32:19 +0000</pubDate>
		<guid isPermaLink="false">http://wpengineer.com/?p=293#comment-456</guid>
		<description>Yes Andreas. That cller_get_post was imolemented after this post. The wrong count is fixed with the release of 2.7 too</description>
		<content:encoded><![CDATA[<p>Yes Andreas. That cller_get_post was imolemented after this post. The wrong count is fixed with the release of 2.7 too</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andreas Karlsson</title>
		<link>http://wpengineer.com/293/strange-things-with-sticky-posts/#comment-450</link>
		<dc:creator>Andreas Karlsson</dc:creator>
		<pubDate>Tue, 13 Jan 2009 10:59:14 +0000</pubDate>
		<guid isPermaLink="false">http://wpengineer.com/?p=293#comment-450</guid>
		<description>What about making two querys? One containing only the sticky posts and another using &lt;code&gt;caller_get_posts=1&lt;/code&gt; to get your posts excluding the sticky ones.

&lt;a href=&quot;http://codex.wordpress.org/Template_Tags/query_posts#Post_.26_Page_Parameters&quot; rel=&quot;nofollow&quot;&gt;Post &amp; Page Parameters&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>What about making two querys? One containing only the sticky posts and another using <code>caller_get_posts=1</code> to get your posts excluding the sticky ones.</p>
<p><a href="http://codex.wordpress.org/Template_Tags/query_posts#Post_.26_Page_Parameters" rel="nofollow">Post &amp; Page Parameters</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: LaShelle</title>
		<link>http://wpengineer.com/293/strange-things-with-sticky-posts/#comment-443</link>
		<dc:creator>LaShelle</dc:creator>
		<pubDate>Tue, 13 Jan 2009 04:57:04 +0000</pubDate>
		<guid isPermaLink="false">http://wpengineer.com/?p=293#comment-443</guid>
		<description>Thank you!  Just what I needed and worked like a charm!</description>
		<content:encoded><![CDATA[<p>Thank you!  Just what I needed and worked like a charm!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Definitive Sticky Posts Guide for WordPress 2.7 &#124; Webtrendblog.com</title>
		<link>http://wpengineer.com/293/strange-things-with-sticky-posts/#comment-430</link>
		<dc:creator>Definitive Sticky Posts Guide for WordPress 2.7 &#124; Webtrendblog.com</dc:creator>
		<pubDate>Sat, 10 Jan 2009 17:56:46 +0000</pubDate>
		<guid isPermaLink="false">http://wpengineer.com/?p=293#comment-430</guid>
		<description>[...] there is one caveat as pointed out by Michael at WPEngineer.com &#8212; sticky posts don&#8217;t simply get &#8220;pulled to the front of the line&#8221;.  In [...]</description>
		<content:encoded><![CDATA[<p>[...] there is one caveat as pointed out by Michael at WPEngineer.com &#8212; sticky posts don&#8217;t simply get &#8220;pulled to the front of the line&#8221;.  In [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Feed Subscriptions, Stats and Management &#171; Feet up, eyes closed, head back</title>
		<link>http://wpengineer.com/293/strange-things-with-sticky-posts/#comment-127</link>
		<dc:creator>Feed Subscriptions, Stats and Management &#171; Feet up, eyes closed, head back</dc:creator>
		<pubDate>Sat, 15 Nov 2008 21:02:08 +0000</pubDate>
		<guid isPermaLink="false">http://wpengineer.com/?p=293#comment-127</guid>
		<description>[...] Strange Things With Sticky Posts at WPEngineer.com [...]</description>
		<content:encoded><![CDATA[<p>[...] Strange Things With Sticky Posts at WPEngineer.com [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

