From: Laury GvR Date: Fri, 19 Aug 2016 13:58:17 +0000 (-0400) Subject: Members only login form more granular support info X-Git-Tag: v1.0.0^2~111 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=08e37b96d4462de5204211d2d2d9f4db78c9cd80;p=WP-Themes%2Fpetoskeyarea.git Members only login form more granular support info Members only login form will now only show support email and phone if they are set in the admin management. --- diff --git a/parts/glm-members-only-login-form.php b/parts/glm-members-only-login-form.php index f8cf1fe..66256b1 100644 --- a/parts/glm-members-only-login-form.php +++ b/parts/glm-members-only-login-form.php @@ -1,14 +1,31 @@
-

The information you entered is incorrect. Please try again. + else if( isset( $_GET['login'] ) && $_GET['login'] == 'empty' ) { ?> Please enter both username and password. - Please log in with your username and password. -
If you need assistance, email (xxxxx@yyyy.zzz) or call (###-###-####) + + Please log in with your username and password. + + If you need assistance, "; + if ($supportEmail) { + echo "email (".$supportEmail.")"; + if ($supportPhone) { + echo " or "; + } + } + if ($supportPhone) { + echo "call (".$supportPhone.")"; + } + } + ?>

@@ -16,6 +33,6 @@ + ?> \ No newline at end of file