From 2b98b1b790d27b9ae98cb4d52aa507437515a9f6 Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Thu, 25 May 2017 13:05:47 -0400 Subject: [PATCH] changing the login form to use captcha using the same login form used by the updated sites to integrate captcha for the members only login page --- parts/glm-members-only-login-form.php | 81 +++++++++++++++------------ sections/interior-page.php | 2 - 2 files changed, 44 insertions(+), 39 deletions(-) diff --git a/parts/glm-members-only-login-form.php b/parts/glm-members-only-login-form.php index a47937e..15e7763 100644 --- a/parts/glm-members-only-login-form.php +++ b/parts/glm-members-only-login-form.php @@ -1,38 +1,45 @@ -
-

- - The information you entered is incorrect. Please try again. - - Please enter both username and password. - - - Please log in with your username and password. +

-
- -
- \ No newline at end of file + If you need assistance, "; + if ($supportEmail) { + echo "email (".$supportEmail.")"; + if ($supportPhone) { + echo " or "; + } + } + if ($supportPhone) { + echo "call (".$supportPhone.")"; + } + } + ?> + +

+
+
+ false, + 'form_id' => 'glm_login_form' + ); + $loginForm = wp_login_form($args); + $captcha = apply_filters('cptch_display', '', 'glm_login_form'); + $form = str_replace( '
+ \ No newline at end of file diff --git a/sections/interior-page.php b/sections/interior-page.php index bf907f3..10bb7bd 100644 --- a/sections/interior-page.php +++ b/sections/interior-page.php @@ -12,10 +12,8 @@ - member db - nothing -- 2.17.1