manescuc
Forum Replies Created
-
Thanks, Adam. Sure, I’ll wait to see if they can provide some simple hook or something to add to my form and have this working for the custom form, too.
Best regards,
CorneliuHi, thanks for your reply. This is a custom login form that comes with the directorist plugin. Clearing the cache does not help.. How does your plugin do change to that ‘you are blocked’ page? I need to do something similar in the context of the form below…
<form action=”#” id=”login” method=”POST”>
<div class=”directorist-form-group directorist-mb-15″>
<label for=”username”><?php echo esc_html( $log_username ); ?></label>
<input type=”text” class=”directorist-form-element” id=”username” name=”username”>
</div><div class=”directorist-form-group directorist-mb-15″>
<label for=”password”><?php echo esc_html( $log_password ); ?></label>
<input type=”password” id=”password” autocomplete=”off” name=”password” class=”directorist-form-element”>
</div><div class=”directorist-form-group atbd_login_btn_wrapper directorist-mb-15″>
<button class=”directorist-btn directorist-btn-block directorist-btn-primary” type=”submit” value=”<?php echo esc_attr( $log_button ); ?>” name=”submit”><?php echo esc_html( $log_button ); ?></button>
<?php wp_nonce_field( ‘ajax-login-nonce’, ‘security’ );?>
</div>
<p class=”status”></p><div class=”keep_signed directorist-checkbox directorist-mb-15″>
<?php
if ( $display_rememberMe ) {
?>
<input type=”checkbox” id=”keep_signed_in” value=”1″ name=”keep_signed_in” checked>
<label for=”keep_signed_in” class=”directorist-checkbox__label not_empty”>
<?php echo esc_html( $log_rememberMe ); ?>
</label>
</div>
<?php
}
if ( $display_recpass ) {
$output = sprintf( __( ‘<p>%s</p>’, ‘directorist’ ), “ ” . $recpass_text . ‘‘ );
echo wp_kses_post( $output );
}
?>
</form>