From 5652fea0c5b50cf7f26b54383091ff8cde563b58 Mon Sep 17 00:00:00 2001 From: Laury GvR Date: Tue, 18 Jun 2019 13:05:44 -0400 Subject: [PATCH] Add new nggallery template glmphotos without titles --- nggallery/gallery-glmphotos.php | 8 ++++---- parts/header-meta.php | 2 +- style.css | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/nggallery/gallery-glmphotos.php b/nggallery/gallery-glmphotos.php index 2decd8d..3fe2e78 100644 --- a/nggallery/gallery-glmphotos.php +++ b/nggallery/gallery-glmphotos.php @@ -41,11 +41,11 @@ Follow variables are useable : size ?> /> alttext) ? $image->alttext: ''; + //$imageTitle = !preg_match(';is\d{2,}-\d{10,}-\d{5,}$;', $image->alttext) ? $image->alttext: ''; ?> - - hidden) { echo esc_attr($imageTitle); }?> - + diff --git a/parts/header-meta.php b/parts/header-meta.php index 36b96c6..22ccf2a 100644 --- a/parts/header-meta.php +++ b/parts/header-meta.php @@ -3,7 +3,7 @@ <?php wp_title(); ?> - + diff --git a/style.css b/style.css index dc8b3a4..8be43ae 100644 --- a/style.css +++ b/style.css @@ -3,5 +3,5 @@ Theme Name: UPTravel 2018 Author: Gaslight Media Author URI: http://www.gaslightmedia.com Description: A theme for UP Travel -Version: 1.0.4 +Version: 1.0.6 */ -- 2.17.1