WordPress.org

Forums

Lightbox Gallery
Excluding galleries manually? (3 posts)

  1. nightflightmedia
    Member
    Posted 2 years ago #

    Love the plugin, but would like some galleries (for example a group of small images - not worth enlarging) to be able to use the gallery shortcode without calling the plugin.

    http://wordpress.org/extend/plugins/lightbox-gallery/

  2. nycgadgetgirl
    Member
    Posted 2 years ago #

    I am looking for a way to do this as well.

  3. knowsnowrong
    Member
    Posted 2 years ago #

    The easiest way is to change the following line in lightbox-gallery.php.

    add_shortcode( 'gallery', 'lightbox_gallery' );
    to
    add_shortcode( 'lightbox_gallery' );

    This will cause the plugin to only trigger on [lightbox_gallery] and the normal gallery when using [gallery].

    Help this helps,

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Lightbox Gallery
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic