display details of the post in the shortcode.