Title: [Plugin: jQuery Colorbox] Feature Request
Last modified: August 19, 2016

---

# [Plugin: jQuery Colorbox] Feature Request

 *  Resolved [sparkweb](https://wordpress.org/support/users/sparkweb/)
 * (@sparkweb)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/plugin-jquery-colorbox-feature-request/)
 * I love this plugin. I use it on several sites and it makes out of the box galleries
   work great. Really, really great job.
 * I have a request for a way to “opt out” of colorbox for certain places. In my
   case, I am running NextGen and am stuck using their gallery for a number of reasons.
   So I need to deactivate colorbox just on the gallery pages. I can inject a class
   into the NextGen gallery links and put this code into the colorbox plugin and
   it works great.
 * `$("a:has(img):not(.skipcolorbox)").each(function(index, obj) {`
 * What do you think about rolling this feature in to jQuery Colorbox? Or any other
   ideas for avoiding colorbox on just certain pages?
 * [http://wordpress.org/extend/plugins/jquery-colorbox/](http://wordpress.org/extend/plugins/jquery-colorbox/)

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

 *  [techotronic](https://wordpress.org/support/users/techotronic/)
 * (@techotronic)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/plugin-jquery-colorbox-feature-request/#post-1490850)
 * Hi,
    thanks for using my plugin! 🙂
 * Actually, the feature you are talking about has been in the plugin for a few 
   months now. If the CSS class “colorbox-off” is assigned to the images, the Colorbox
   won’t be applied to them. If you want to, I can include your solution as well,
   if it is easier to automate with NextGen. (the CSS class would have to be “colorbox-
   off”, though)
 * Best regards,
    Arne
 *  Thread Starter [sparkweb](https://wordpress.org/support/users/sparkweb/)
 * (@sparkweb)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/plugin-jquery-colorbox-feature-request/#post-1491000)
 * Thanks Arne, that would be great. I can’t figure out a way to put that class 
   in the image itself… only have access to the a tag through NextGen. Adding the
   colorbox-off class to the a selector would be a great way to go.
 * Thanks for the consideration!
 *  [techotronic](https://wordpress.org/support/users/techotronic/)
 * (@techotronic)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/plugin-jquery-colorbox-feature-request/#post-1491003)
 * No problem at all, I’ll include your code change in the next jQuery Colorbox 
   release.
    If you change the class applied to the a tags and your temporary fix
   to “colorbox-off” now, you won’t have to do anything after the update.
 * Best regards,
    Arne

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

The topic ‘[Plugin: jQuery Colorbox] Feature Request’ is closed to new replies.

 * 3 replies
 * 2 participants
 * Last reply from: [techotronic](https://wordpress.org/support/users/techotronic/)
 * Last activity: [16 years, 1 month ago](https://wordpress.org/support/topic/plugin-jquery-colorbox-feature-request/#post-1491003)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
