• I am making a WordPress theme and I am using the featured image / thumbnail feature.

    <?php if(has_post_thumbnail()) { the_post_thumbnail('related-post-thumbnail'); } else {
    echo '<img src="'.get_bloginfo("template_url").'/images/no-thumbnail-small.png" />'; } ?>

    The only problem is whenever someone hovers over the image, there is a title attribute. How can I remove this without going into the WP files outside of my theme files? Thanks!

Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Remove Title from Featured Image / Thumbnail’ is closed to new replies.