I don’t know of a more convenient way than to tap into your WordPress database more or less directly:
<ul>
<?php $my_drafts = $wpdb->get_results("SELECT post_title FROM $wpdb->posts WHERE post_status = 'draft'");
$my_draft_list = '';
foreach ($my_drafts as $my_draft) {
if ($my_draft->post_title != '') {
$my_draft_list .= '<li>' . $my_draft->post_title . '</li>';
}
}
echo $my_draft_list;
?>
</ul>
EDIT: Kaf beat me :)
Now that’s what I like about these forums. That’s something I’d never even thought of doing, but as soon as I read it, I thought “oooh, I lke that”.
What I’d like to see (and I think I’ll have a go myself, might learn some PHP in the process, can’t be a bad thing) is to group the list by post category. So you could have “Coming soon in Wibble[1]” or “Coming soon in Burble” and so on. Thanks for the idea, and the code, guys 🙂
[1] Or whatever your categories are