If a link has the CSS class “colorbox-link”, it will not be grouped.
If a link has the CSS class “colorbox-link-ID” (where ID is a number like “123”), it will be grouped with all other links that have the same ID.
Is there a way to over ride the class ID per [gallery] shortcode? I have numerous images attached to a page. I selectively display sections of the attachments by using the ‘include’ function of the gallery shortcode.
EXAMPLE:
<h2>Hospitality</h2>
[gallery link="file" columns="2" include="4389, 4388" ]
[expand title="View More Hospitality Content" swaptitle="Close" rel="design-highlander" findme="auto" trigpos="below" id="hospitalityContent"]
[gallery class="colorbox-9000" link="file" columns="2" include="4387, 4386, 4385, 4384, 4383, 4382, 4381, 4380, 4379, 4378, 4377, 4376, 4375, 4374, 4373, 4372, 4371, 4370, 4369, 4368, 4367, 4366, 4365, 4364, 4363, 4362, 4361, 4360, 4359, 4358, 4357, 4338, 4335, 4341, 4337, 4351, 4350, 4349, 4348, 4347, 4346, 4345, 4343, 4344, 4339, 4334, 4336" ]
[/expand]
<div class="SecDiv23"></div>
<h2>Education</h2>
[gallery class="9001" link="file" columns="2" include="4406, 4403" ]
[expand title="View More Educational Content" swaptitle="Close" rel="design-highlander" findme="auto" trigpos="below" id="educationContent" ]
[gallery class="9001" link="file" columns="2" include="4411, 4410, 4409, 4408, 4405, 4404, 4402, 4352" ]
[/expand]
<div class="SecDiv23"></div>
In the example above, I would like to only group the images within each category.
Your plug-in has the option of automatically grouping galleries on one page/post, and is currently doing so by assigning a colorbox-ID that is the same on all images contained on the page.
I would like to over ride that assigned CLASS, and provide my own.
Thank you.