Added possibility to init with a WP post.