Skip to main content
Spelling, formatting, changed "tag" to "attribute"
Source Link
Dave Romsey
  • 17.9k
  • 11
  • 55
  • 70

I'm searching for a resolution which can add title tagattribute (title=""title="") to wordpress galerya WordPress gallery. Now, the code looks like this:

<img width="400" height="400" src="http://example.com/wp-content/uploads/2017/03/myimage-400x400.jpg" class="attachment-thumbnail size-thumbnail" alt="image alt desc">

I added "title"specified the title in the media editor, but the tagattribute is not showing in the image tag.

I'm searching for a resolution which can add title tag (title="") to wordpress galery. Now, the code looks like this:

<img width="400" height="400" src="http://example.com/wp-content/uploads/2017/03/myimage-400x400.jpg" class="attachment-thumbnail size-thumbnail" alt="image alt desc">

I added "title" in media but the tag is not showing.

I'm searching for a resolution which can add title attribute (title="") to a WordPress gallery. Now, the code looks like this:

<img width="400" height="400" src="http://example.com/wp-content/uploads/2017/03/myimage-400x400.jpg" class="attachment-thumbnail size-thumbnail" alt="image alt desc">

I specified the title in the media editor, but the attribute is not showing in the image tag.

Source Link

Add title tag to image in wordpress gallery

I'm searching for a resolution which can add title tag (title="") to wordpress galery. Now, the code looks like this:

<img width="400" height="400" src="http://example.com/wp-content/uploads/2017/03/myimage-400x400.jpg" class="attachment-thumbnail size-thumbnail" alt="image alt desc">

I added "title" in media but the tag is not showing.