From 43d7f98ec92ef2388b5dd333d05b2fee83de4a39 Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Thu, 30 Jul 2015 13:53:37 -0400 Subject: [PATCH] Update nextgen template If the photo title matches is0 pattern, then don't show title. --- nggallery/gallery-glmphotos.php | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/nggallery/gallery-glmphotos.php b/nggallery/gallery-glmphotos.php index d2dc85b..73e7cc3 100644 --- a/nggallery/gallery-glmphotos.php +++ b/nggallery/gallery-glmphotos.php @@ -34,9 +34,18 @@ Follow variables are useable : hidden ) { ?>
- <?php echo esc_attr($image->alttext) ?>size ?> /> + <?php echo esc_attr($image->alttext) ?>size ?> />
- hidden) { echo esc_attr($image->alttext); }?> + alttext) ? $image->alttext: ''; + ?> + + hidden) { echo esc_attr($imageTitle); }?> + -- 2.17.1