Title: [Plugin: Auto ThickBox Plus] request &#8211; clickable caption
Last modified: August 20, 2016

---

# [Plugin: Auto ThickBox Plus] request – clickable caption

 *  Resolved [thomask](https://wordpress.org/support/users/thomask/)
 * (@thomask)
 * [13 years, 12 months ago](https://wordpress.org/support/topic/plugin-auto-thickbox-plus-request-clickable-caption/)
 * i love this plugin, i just miss one feature – it would be great if it would be
   possible to make clickable the full wp-caption div, not only the image.
 * [http://wordpress.org/extend/plugins/auto-thickbox-plus/](http://wordpress.org/extend/plugins/auto-thickbox-plus/)

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

 *  Plugin Author [attosoft](https://wordpress.org/support/users/attosoft/)
 * (@attosoft)
 * [13 years, 12 months ago](https://wordpress.org/support/topic/plugin-auto-thickbox-plus-request-clickable-caption/#post-2782870)
 * Hi thomask,
 * Thank you for using Auto ThickBox Plus.
 * I have no idea what “the full wp-caption div” is. wp-caption is class attribute
   value?
 * ThickBox window closes by clicking an image by default. So do you want to close
   the window by clicking TB_caption div? Or you want to jump to another page?
 *  Thread Starter [thomask](https://wordpress.org/support/users/thomask/)
 * (@thomask)
 * [13 years, 12 months ago](https://wordpress.org/support/topic/plugin-auto-thickbox-plus-request-clickable-caption/#post-2782889)
 * if you add the image with caption, it creates something like
 *     ```
       <div id="attachment_544" class="wp-caption aligncenter" style="width: 310px"><a href="http://money.mediacentrum.cz/wp-content/uploads/money-s3_money-dnes.png" class="thickbox no_icon" title="money-s3_money-dnes"><img class="size-medium wp-image-544" title="money-s3_money-dnes" src="http://money.mediacentrum.cz/wp-content/uploads/money-s3_money-dnes-300x232.png" alt="Money S3: úvodní obrazovka Money Dnes" width="300" height="232"></a><p class="wp-caption-text">Money S3: úvodní obrazovka Money Dnes</p></div>
       ```
   
 * problem is, that for opening thickbox, i need to click that a href, but very 
   often it would make more sense, if it would be possible to click the whole div,
   so even the caption text
 *  Plugin Author [attosoft](https://wordpress.org/support/users/attosoft/)
 * (@attosoft)
 * [13 years, 12 months ago](https://wordpress.org/support/topic/plugin-auto-thickbox-plus-request-clickable-caption/#post-2782892)
 * HTML code above is generated by `[caption]` shortcode. So your request is about
   not Auto ThickBox Plus but WordPress feature. I guess you use “Insert into Post”
   button in “Add Media”.
 * To open href URL by clicking wp-caption div, you need to modify `img_caption_shortcode()`
   function in `wp-includes/media.php` file, or to hook `img_caption_shortcode` 
   filter with [add_filter()](http://codex.wordpress.org/Function_Reference/add_filter)
   function.
 *  Thread Starter [thomask](https://wordpress.org/support/users/thomask/)
 * (@thomask)
 * [13 years, 12 months ago](https://wordpress.org/support/topic/plugin-auto-thickbox-plus-request-clickable-caption/#post-2782893)
 * yes, it is via standard insert into post.
 * i know i could use img_caption_shortcode filter, actualy i was doing it for standard
   opening images, but i was wondering that it would be much better to just modify
   your script, so it will not hook on jQuery(‘a.thickbox’), but (also) on jQuery(‘
   a.thickbox’).parent(‘wp-caption’) selector.
 *  Plugin Author [attosoft](https://wordpress.org/support/users/attosoft/)
 * (@attosoft)
 * [13 years, 12 months ago](https://wordpress.org/support/topic/plugin-auto-thickbox-plus-request-clickable-caption/#post-2782902)
 * Well, you resolved the problem in your blog.
 * I wonder whether other users want clickable caption. I often use right-click 
   search in Google Chrome. But it is hard to highlight texts if texts are clickable.
   I may implement the feature if there is same request from other people.
 * Additionally, I don’t want to write codes for WordPress to thickbox.js. I intend
   to keep thickbox.js standalone as much as possible.

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

The topic ‘[Plugin: Auto ThickBox Plus] request – clickable caption’ is closed to
new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/auto-thickbox-plus_89754b.svg)
 * [Auto ThickBox Plus](https://wordpress.org/plugins/auto-thickbox-plus/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/auto-thickbox-plus/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/auto-thickbox-plus/)
 * [Active Topics](https://wordpress.org/support/plugin/auto-thickbox-plus/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/auto-thickbox-plus/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/auto-thickbox-plus/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [attosoft](https://wordpress.org/support/users/attosoft/)
 * Last activity: [13 years, 12 months ago](https://wordpress.org/support/topic/plugin-auto-thickbox-plus-request-clickable-caption/#post-2782902)
 * Status: resolved