I'd like to see my private posts before they're published. Is there any *easy* way of doing that on this loop?
I'd like to see my private posts before they're published. Is there any *easy* way of doing that on this loop?
You can add the post status parameter:
<?php query_posts('category_name=work&posts_per_page=10&post_status=private'); ?>
Won't that stop showing all the non-private posts as well?
You can use an array to include multiple post statuses, see query_posts
It worked. Thanks! :)
You must log in to post.