My theme uses featured images throughout. Almost all our pages uses them and the tag to pull them onto the page lives in the header.php file.
We’ve now started using the Featured Images for our events – we really like the way they are used within the event templates.
The problem is that on some of the pages – the thumbnail appear twice, as it is being called by both the header.php and the event calendar page.
What conditional statement can I use to omit the image from being called twice?
I have tried !get_post_type() == ‘tribe_events’ && is_single() but that will stop it from appearing on our single pages, too – not just the events ones.