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

Steve stevish at gmail.com
Thu Nov 6 16:41:45 GMT 2008


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.
>


More information about the wp-testers mailing list