Title: Wrap image caption with link
Last modified: August 21, 2016

---

# Wrap image caption with link

 *  Resolved [ronenrer](https://wordpress.org/support/users/ronenrer/)
 * (@ronenrer)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/wrap-image-caption-with-link/)
 * Hi again
    is there a way to apply the image link to the image’s caption? I am
   using the caption as an hover effect on top of the image so I need it to be a
   link too thanks
 * [http://wordpress.org/plugins/media-library-assistant/](http://wordpress.org/plugins/media-library-assistant/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [David Lingren](https://wordpress.org/support/users/dglingren/)
 * (@dglingren)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/wrap-image-caption-with-link/#post-4365905)
 * Yes, you can customize the caption to include anything you need. You can always
   create a custom markup template, but you can also use the `mla_caption` parameter
   to make most kinds of changes to the caption.
 * You can copy the default “image link” to the caption field by adding this parameter
   to your `[mla_gallery]` shortcode:
 *     ```
       mla_caption="{+link+}"
       ```
   
 * The default link includes the thumbnail version of the image, which may not be
   what you want for a hover effect. You can use the image title instead with this
   parameter:
 *     ```
       mla_caption="<a href='{+link_url+}' title='{+title+}'>{+title+}</a>"
       ```
   
 * In these examples, values such as `{+link+}` and `{+title+}` are a few of the
   many attachment-specific substitution parameters you can use. Have a look at 
   the “Attachment-specific substitution parameters for the markup template Item
   part” section on the Settings/Media Library Assistant Documentation tab.
 * I hope that gets you started on customizing your `[mla_gallery]` captions. I’m
   going to mark this issue resolved, but let me know if you have any problems or
   further questions.
 *  Thread Starter [ronenrer](https://wordpress.org/support/users/ronenrer/)
 * (@ronenrer)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/wrap-image-caption-with-link/#post-4365911)
 * Thanks
    works well!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Wrap image caption with link’ is closed to new replies.

 * ![](https://ps.w.org/media-library-assistant/assets/icon-256x256.png?rev=973502)
 * [Media Library Assistant](https://wordpress.org/plugins/media-library-assistant/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/media-library-assistant/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/media-library-assistant/)
 * [Active Topics](https://wordpress.org/support/plugin/media-library-assistant/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/media-library-assistant/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/media-library-assistant/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [ronenrer](https://wordpress.org/support/users/ronenrer/)
 * Last activity: [12 years, 8 months ago](https://wordpress.org/support/topic/wrap-image-caption-with-link/#post-4365911)
 * Status: resolved