Remove title= attribute from the_post_thumbnail
If I do a call for a thumbnail:
It brings back something like this:
<img width="125" height="80" src="image.jpg" class="attachment wp-post-image" alt="Hello World!" title="Hello World!" />
Where can I find the code so it does not output the title= aspect of the image call? I’m using a tooltip on the images and would prefer that title doesn’t interfere with it.
- The topic ‘Remove title= attribute from the_post_thumbnail’ is closed to new replies.