How to publish a post with the WordPress?