Skip to content

Instantly share code, notes, and snippets.

@amdrew amdrew/gist:5942614
Last active Dec 19, 2015

What would you like to do?
Add colorbox to the lightbox array in Easy Image Gallery
function my_theme_easy_image_gallery_lightbox( $lightboxes ) {
// the option that is saved to the database, and the label that appears in the select menu
$lightboxes['colorbox'] = 'Colorbox';
return $lightboxes;
add_filter( 'easy_image_gallery_lightbox', 'my_theme_easy_image_gallery_lightbox' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.