NextGen template not working anymore
-
Hi, on one of my sites which is using NextGen gallery, one of our templates appears to be broken. Nothing was changed in the template itself, so my guess is that one of the recent NextGen updates has caused it.
The affected URL: https://bit.ly/1t5E5HR
I am pasting the template code so maybe you can give me some advice on how to fix it. The page should be showing one row with image links to the galleries.
<?php /* Template Name: Photo Gallery */ ?> <?php get_header(); ?> <div id="container" class="no-tab gallery"> <?php while ( have_posts()) : the_post(); ?> <h1 class="heading-border lesser-margin gal-head"><?php the_title(); ?></h1> <?php the_content(); ?> <div class="gallery"> <div class="column"> <?php echo do_shortcode('[nggallery id='. $options['gallery-1'] .' template=photogallery]'); ?> </div><!-- end of column div --> <div class="column"> <?php echo do_shortcode('[nggallery id='. $options['gallery-2'] .' template=photogallery]'); ?> </div><!-- end of column div --> <div class="column"> <?php echo do_shortcode('[nggallery id='. $options['gallery-3'] .' template=photogallery]'); ?> </div><!-- end of column div --> <div class="column"> <?php echo do_shortcode('[nggallery id='. $options['gallery-4'] .' template=photogallery]'); ?> </div><!-- end of column div --> </div><!-- end of gallery div --> <?php endwhile; ?> </div><!--end of container div--> <?php get_footer(); ?>
Viewing 11 replies - 1 through 11 (of 11 total)
Viewing 11 replies - 1 through 11 (of 11 total)
- The topic ‘NextGen template not working anymore’ is closed to new replies.