Title: relativeCaption
Last modified: August 15, 2024

---

# relativeCaption

 *  Resolved [Josh Journey](https://wordpress.org/support/users/ljosh/)
 * (@ljosh)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/relativecaption/)
 * Howdy, hoping all is well.
 * When activating the checkbox ‘relativeCaption’ in LightGallery v2.7.0 it doesn’t
   display a photo caption in the lightgallery. Just to be double sure I used control
   +F which only pulls up the caption in the thumbnails shown on the post. When 
   lightbox is open it doesn’t highlight. Then I opened up the browsers inspector
   with lightbox opened which the caption text only appears below the thumbnail 
   image in post but not in lightgallery.

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

 *  Plugin Author [Savvas](https://wordpress.org/support/users/savvasha/)
 * (@savvasha)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/relativecaption/#post-17956444)
 * Hi there [@ljosh](https://wordpress.org/support/users/ljosh/) ,
 * Unfortunately the “relativeCaption” plugin is undocumented, so I am not really
   sure how it should be used. [https://github.com/sachinchoolur/lightGallery/issues/1389](https://github.com/sachinchoolur/lightGallery/issues/1389)
 * By default, lightGallery use the captions via data-sub-html attribute of the 
   image. WordPress native gallery shortcode does not use that method. I will try
   a workaround on the next plugin update, that will add this attribute to the gallery
   shortcode.
 * Thanks,
   Savvas
 *  Plugin Author [Savvas](https://wordpress.org/support/users/savvasha/)
 * (@savvasha)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/relativecaption/#post-17956507)
 * Version 1.7.0 is online. Please check it out and provide some feedback 🙂
 *  Thread Starter [Josh Journey](https://wordpress.org/support/users/ljosh/)
 * (@ljosh)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/relativecaption/#post-17958738)
 * Thank you [Savvas](https://wordpress.org/support/users/savvasha/)! Caption works
   perfectly in lightbox. 🙂

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

The topic ‘relativeCaption’ is closed to new replies.

 * ![](https://ps.w.org/simple-lightgallery/assets/icon.svg?rev=2838721)
 * [Simple lightGallery](https://wordpress.org/plugins/simple-lightgallery/)
 * [Support Threads](https://wordpress.org/support/plugin/simple-lightgallery/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-lightgallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-lightgallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-lightgallery/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Josh Journey](https://wordpress.org/support/users/ljosh/)
 * Last activity: [1 year, 9 months ago](https://wordpress.org/support/topic/relativecaption/#post-17958738)
 * Status: resolved