From 9011b364e26ed5c9bfacb61682721b0399b50ff4 Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Thu, 11 May 2017 11:12:38 -0400 Subject: [PATCH] Update for captcha to be on member only login form. Have to place the captcha into the member login form. --- parts/glm-members-only-login-form.php | 27 +++++++++++++++++---------- parts/search-dropdown.php | 11 ++++++----- style.css | 2 +- 3 files changed, 24 insertions(+), 16 deletions(-) diff --git a/parts/glm-members-only-login-form.php b/parts/glm-members-only-login-form.php index 6acc2c6..b337e36 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/parts/search-dropdown.php b/parts/search-dropdown.php index 474a901..c217670 100644 --- a/parts/search-dropdown.php +++ b/parts/search-dropdown.php @@ -8,19 +8,20 @@
- +
- + diff --git a/style.css b/style.css index aef200a..21ba2c7 100644 --- a/style.css +++ b/style.css @@ -3,5 +3,5 @@ Theme Name: HarborCountry Author: Gaslight Media Author URI: http://www.gaslightmedia.com Description: A theme for HarborCountry -Version: 1.0.15 +Version: 1.0.16 */ -- 2.17.1