Upload featured image on custom post from wordpress front-end