Any thoughts? I’ve added text to the “Title”, “Alternate Text”, “Caption” and “Description” fields but none of them appear in the lightbox. Hmm…
I have already tried modifying custom.js to read:
"theme": 'light_square', /* light_rounded / dark_rounded / light_square / dark_square */
I also tried modifying style.css just to make sure it’s not displaying white text on a white background:
So far I’ve only added Title/caption/description text to the “Public Market” photo in the photography section, so if you go there to look at it, test with that one.
I think the problem is that Display doesn’t add the link title, etc. information to the image link. You can change the default title content in displayframeworkhelper_functionskriesi_build_image.php .search for following line:
and add any static text like:
You can also try to use functions like http://codex.wordpress.org/Function_Reference/get_the_title – I’m not entirely sure if it works out of the box or if you need to add an additional post id parameter.
Thank you for the insight. The following worked to set the title of the image to the title of the post:
The topic ‘Displaying Titles and Captions in PrettyPhoto’ is closed to new replies.