I was working on a custom theme when I came across the need to display a ‘featured image’ if the post had it, but if the post was a video post, it would display a video where the image would be. I did not want to rely on just pulling the “the_content” and hope for…
