From: Laury GvR Date: Tue, 12 Sep 2017 14:39:36 +0000 (-0400) Subject: Adding captcha to the members only form X-Git-Tag: v1.0.4^2~1 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=787975dc5bec1f8cd9da36d5b9921b1f0c204e5a;p=WP-Themes%2Fbaragacounty.git Adding captcha to the members only form --- 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 1fb813e..635ca14 100644 --- a/parts/search-dropdown.php +++ b/parts/search-dropdown.php @@ -23,5 +23,4 @@ -