It’s good to hear from you again – it’s been quite a while since your last topic.
Thank you for all of the time you’ve taken researching your issue, and for posting a link to the example page from your site; very helpful. I was able to access the page and use the Developer Tools in Internet Explorer to identify the immediate problem.
The captions are in fact there, but they are invisible. Your theme’s style.css
file includes this entry starting on line 1349:
.gallery-caption {
bottom: 0;
box-sizing: border-box;
font-size: 12px;
left: 0;
line-height: 1.5;
margin: 0;imag
max-height: 50%;
opacity: 0;
padding: 6px 8px;
position: absolute;
text-align: left;
width: 100%;
}
The opacity: 0;
element of this entry is rendering the captions invisible. If you remove it, the captions show up.
You wrote “ I want either the title, caption, or description to show …” but your shortcode text includes mla_caption="{+caption+}"
, which simply replaces the caption with itself. You might try something like this to compose a caption from all three of the sources you mentioned:
mla_caption="{+template:({+excerpt+}|{+description+}|{+title+}|no caption)+}"
This example uses a Content Template to select the first non-empty value from the excerpt/Caption, Description or Title values of each item. In the unlikely event that all three are empty the literal “no caption” is displayed.
The current WordPress version fills in the Caption field when the item is added to the Media Library. Older WordPress versions filled in the Description field but not the Caption; this was a long-standing annoyance.
I hope the above suggestions get you the results you want. I am marking this topic resolved, but please update it if you have problems or further questions about composing the caption values you need. Thanks for your long-standing interest in the plugin.
Thread Starter
LVRuss
(@lvruss)
Thank you for your rapid response and your solution. This I would never have found on my own. Great plugin. Wish I had time and inclination to learn how to really use it. Have a lot of work to do sorting out all those census reports. What’s on the site now is just testing materials I’ve been using to get things working the way I want. Keep up the good work.
Thanks for the kind words and confirmation of the suggested solution. Best of luck with your interesting application – let me know if there’s anything else MLA can do to make it a success.