Forums
Home / Plugins / [nggallery] Image description :: ALT instead of TITLE
(@mrkingid)
14 years, 1 month ago
Hey, just wondering how I can display the ‘alt’ text instead of the ‘title’ text.
I am using [nggallery id=13 template=caption] and it works to display a caption. I just want the caption to use ‘alt’ reference.
Thanks in advance.
GOT TI!!!
in the gallery-caption.php file you need to change
<span><?php echo $image->caption ?></span>
to
<span><?php echo $image->alttext ?></span>
It would be great if there was an option for this in the admin area.