removing ngg image titles
authorAnthony Talarico <talarico@gaslightmedia.com>
Wed, 3 May 2017 20:20:57 +0000 (16:20 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Wed, 3 May 2017 20:20:57 +0000 (16:20 -0400)
removing the image titles from the gallery template glmphotos so they don't display

nggallery/gallery-glmphotos.php

index c5329e2..04530a7 100644 (file)
@@ -43,9 +43,11 @@ Follow variables are useable :
                     <?php
                     $imageTitle = !preg_match(';is\d{2,}-\d{10,}-\d{5,}$;', $image->alttext) ? $image->alttext: '';
                     ?>
+<!--
                     <span class="photoTitle" title="<?php echo esc_attr($imageTitle) ?>">
                         <?php if (!$image->hidden) { echo esc_attr($imageTitle); }?>
                     </span>
+-->
                             <?php } ?>
                     </a>
                 </div>