I removed the line of code and it worked, thanks.
Question: for my archive pages for post formats, I have embedded images and videos. But these are not showing up in the grid. Only the text and description is showing.
How can I show the images or thumbnails?