adding target blank to the gallery links for the nextgen template
authorAnthony Talarico <talarico@gaslightmedia.com>
Fri, 16 Sep 2016 16:47:21 +0000 (12:47 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Fri, 16 Sep 2016 16:47:21 +0000 (12:47 -0400)
nggallery/gallery-glmphotos-light-4.php

index fefe030..fae2713 100644 (file)
@@ -55,7 +55,7 @@ Follow variables are useable :
                 <div class="ngg-gallery-thumbnail" >
 
                     <?php if ( !$image->hidden ) { ?>
-                    <a href="<?php echo $innerdescription; ?>" class="image-anchor">
+                    <a href="<?php echo $innerdescription; ?>" target="_blank" class="image-anchor">
                         <img
                         title="<?php echo esc_attr($image->alttext) ?>"
                         alt="<?php echo esc_attr($image->alttext) ?>"