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.
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.
This topic has been closed to new replies.