BACK TO DIRECTORY

WP Add Titles to post thumbnails

by freelancevip

5.0
(1 ratings)

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

Plugin Details

Active Installs
10
Total Downloads
1,850
Version
1.0
Requires WP
3.9
Requires PHP
Tested Up To
4.6.30
Added
2016-08-26
Last Updated
2016-08-26 6:35am GMT

Ratings

5
1
4
0
3
0
2
0
1
0