• Hello!

    I’m attempting to add light-box functionality to a page template I’ve created. I’m using the enhanced gallery short-code like this in my template:

    <?php 
          global $post;
          $post_slug2 = $post->post_name;
                    
          echo do_shortcode('[gallery media_category="'. $post_slug2 .'" limit="4" order="DESC" orderby="rand" columns="4"]');
    ?>

    I’m using the slug of the page to call the correct category of images for the gallery. However, no matter which light-box plugin I try, none of them work. I’m not sure why and would really appreciate some help. Thank you!

    • This topic was modified 4 years, 6 months ago by stordahl.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Hi,

    If you scroll through the support threads, you’ll find that support questions have not been answered and the plugin hasn’t been updated in quite some time. It appears that the plugin has been abandoned by its author. You’ll also find fixes and work-arounds for some problems. I’m Recreating my taxonomies in Media Library Folders as I type this.

Viewing 1 replies (of 1 total)
  • The topic ‘Lightbox plugins not working in page template’ is closed to new replies.