Support » Plugins and Hacks » [nggallery] Image description :: ALT instead of TITLE
7 years 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.
in the gallery-caption.php file you need to change
<span><?php echo $image->caption ?></span>
<span><?php echo $image->alttext ?></span>
It would be great if there was an option for this in the admin area.