get_slug to get the slug of the post