[wp-testers] When WP should return sticky posts (was: styling stick posts)

Paleo Pat tpblogeditor at gmail.com
Thu Nov 6 16:46:29 GMT 2008


I happen like that sticky feature. It has already come in handy. :) Twice,
in fact.



On Thu, Nov 6, 2008 at 11:41 AM, Steve <stevish at gmail.com> wrote:

> Here's something Otto posted elsewhere on this group:
>
>
> On 11/5/08, Otto <otto at ottodestruct.com> wrote:
> >
> > Just add caller_get_posts=1 to your custom query, and you won't
> > autoget the stickies anymore.
> >
> > caller_get_posts is not documented yet, but essentially it's what
> > prevents the get_posts() calls from getting sticky posts. It'll work
> > if you use it directly too.
> >
> _______________________________________________
> wp-testers mailing list
> wp-testers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-testers
>


More information about the wp-testers mailing list