Added function to display date, content and thumbnail