wordpress insert post with featured image from front end programmatically and ajax