[wp-hackers] get_posts() alternative for all posts, published and unpublished

Austin Matzko if.website at gmail.com
Mon Mar 5 04:35:00 GMT 2007


On 3/4/07, Callum Macdonald <lists.automattic.com at callum-macdonald.com> wrote:
> I can't find a way to get the get_posts() function to retrieve
> posts that don't currently appear on the blog.
>
> [snip]
>
> Can anyone suggest how to approach this?

How about query_posts?
http://codex.wordpress.org/Template_Tags/query_posts


More information about the wp-hackers mailing list