2

In this scenario I don't think the_content() is what's calling the image, it's the vanguard_history_post_thumbnail() function as defined in template-tags.php. To update the display I think the conditional you're looking for is is_attachment(). (That's a shortcut for is_singular('attachment') - attachment being the post type). So, in the template-tags.php ...


Only top voted, non community-wiki answers of a minimum length are eligible