From 22b62292e0388bed3a2229355e4f2191a703fce7 Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Thu, 11 May 2017 11:52:20 -0400 Subject: [PATCH] Update member login form Adding captcha to login form. --- parts/glm-members-only-login-form.php | 23 +++++++++++++++-------- style.css | 2 +- 2 files changed, 16 insertions(+), 9 deletions(-) diff --git a/parts/glm-members-only-login-form.php b/parts/glm-members-only-login-form.php index 6acc2c6..2ad495f 100644 --- a/parts/glm-members-only-login-form.php +++ b/parts/glm-members-only-login-form.php @@ -2,11 +2,11 @@

The information you entered is incorrect. Please try again. - Please enter both username and password. - - + If you need assistance, "; - if ($supportEmail) { + if ($supportEmail) { echo "email (".$supportEmail.")"; if ($supportPhone) { echo " or "; @@ -28,11 +28,18 @@ ?>

- +
- 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/style.css b/style.css index fd83eec..7e5a5db 100644 --- a/style.css +++ b/style.css @@ -3,5 +3,5 @@ Theme Name: KalamazooBeerWeek Author: Gaslight Media Author URI: http://www.gaslightmedia.com Description: A theme for KalamazooBeerWeek -Version: 1.0.2 +Version: 1.0.4 */ -- 2.17.1