0
votes
1answer
335 views

How to display pending posts on the homepage only for editors

I'm working on a project where editors need to see the pending posts on the homepage to improve them before publish. Maybe there is something to do with the loop in this way: If editors logged: if ...
0
votes
2answers
2k views

Can't get drafts with WP_Query using post_status parameter

I can't seem to get drafts to show up with WP_Query, even when post_status is set to 'any' or 'draft' $args = array( 'p' => 1234, 'post_type' => ...
1
vote
1answer
1k views

Show scheduled posts in archive page

I'd like my archive.php page's daily view (is_day) to display scheduled posts (post_status=future). For example, if I go to mysite.com/2011/05/20 I would see all posts scheduled to appear on May 20. ...