Implementet features for publishing/unpublishing posts.