Support » Plugin: Lightbox Plus Colorbox » How to override theme's gallery feautre

  • Resolved metteonline

    (@metteonline)


    I want to use LPC for displaying my WP galleries.
    However I’m using a child theme built upon Magazine Basic which has a built in gallery feature that overrule my Lightbox settings.

    I’ve already checked “Use For WordPress Galleries” and all my gallery images link to media file. Still it shows the gallery of my theme.

    I’ve tried with WP default theme, TwentyThirteen, where the lightbox works fine.

    How do I override/disable my theme’s gallery feautre?

    http://wordpress.org/plugins/lightbox-plus/

Viewing 1 replies (of 1 total)
  • I figured it out:

    I added this to my functions.php:

    remove_filter( 'post_gallery', 'mb_gallery_shortcode', 10, 2 );

Viewing 1 replies (of 1 total)
  • The topic ‘How to override theme's gallery feautre’ is closed to new replies.