From: Laury GvR Date: Fri, 16 Jun 2017 19:46:54 +0000 (-0400) Subject: Adding Captcha to the Members Only login form X-Git-Tag: v1.0.0^2~18 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=810ed917a65adf10cc9b67272151d104f7fd84f3;p=WP-Themes%2Fgaylordmichigan.git Adding Captcha to the Members Only login form --- diff --git a/parts/glm-members-only-login-form.php b/parts/glm-members-only-login-form.php index 6acc2c6..c396986 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