added support for draft posts.