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
<?php const SHOW_POST_TITLE_AS_THUMBNAIL_TITLE = TRUE; ?>
in wp-add-title-to-post-thumbnails.php
and replace it with
<?php const SHOW_POST_TITLE_AS_THUMBNAIL_TITLE = FALSE; ?>