Support » Plugin: Media Library Assistant » Using Title instead of Caption

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author David Lingren


    Yes, there is a way to change the text displayed as the “image caption”.

    In the Settings/Media Library Assistant screen’s Documentation tab you will find the “Gallery Display Content” parameters. The one you want is mla_caption. There’s an example there (for rollover_text) that shows how you can combine literal text with multiple substitution parameters if you like. The section on “Attachment-specific substitution parameters” lists all the choices.

    For your specific need, you can add mla_caption="{+title+}" to your [mla_gallery] shortcode. That replaces the default caption with the image title.

    That should give you what you need.



    very well everything works fine, I just modified this line:

    $item_values['caption'] = $item_values['description'] ." - ". $item_values['date'];

    thanks for your kind assistance.

    Plugin Author David Lingren



    I think your comment is actually a response to this other support topic:

    format date

    I have posted a copy of your remarks to that topic. Thanks for the update and for the good news.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Using Title instead of Caption’ is closed to new replies.