Lightbox plugins not working in page template
-
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!
The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Lightbox plugins not working in page template’ is closed to new replies.