This plugin is outdated and might not be supported anymore
WP Add Titles to post thumbnails

WP Add Titles to post thumbnails

Details
View on WordPress

Authomatically adds titles to the_post_thumbnail function. Adds title attribute for img tag. There are two options: current post title (default) or attachment title (need set SHOW_POST_TITLE_AS_THUMBNAIL_TITLE to FALSE).

Features

  • Add title attribute to img tag for the_post_thumbnail function.
  • Shows post title or attachment title.
  • Small and well written code plugin.
  • It does not change the database or other files.

Instructions

Basically, plugin adds post title to thumbnails.
For displaying attachment title find line

in wp-add-title-to-post-thumbnails.php
and replace it with

Details

Plugin code:
wp-add-titles-to-post-thumbnails
Plugin version:
1.0
Outdated:
Yes
WP version:
3.9 or higher
PHP version:
or higher
Test up to WP version:
4.6.29
Total installations:
10
Last updated:
2016-08-26
Rating:
Times rated:
1
post-thumbnail
post-thumbnail-title
the_post_thumbnail
thumbnail-title
title