Can not write to the username field created with wp_login_from()

Hello guys I am having a wired problem in my front-end login page.

I have called wp_login_from() with simple arguments but when i am trying to write something to the username field the mouse is not focusing into the field. the password field is working but username field seems blocked somehow..

Here is the code:

<div id=”login-Form”>

<?php

//Login array arguments
$args = array(
‘echo’ => true,
‘redirect’ => home_url(),
‘form_id’ => ‘loginform’,
‘label_username’ => __( ‘Username’ ),
‘label_password’ => __( ‘Password’ ),
‘label_remember’ => __( ‘Remember Me’ ),
‘label_log_in’ => __( ‘Log In’ ),
‘id_username’ => ‘user_login’,
‘id_password’ => ‘user_pass’,
‘id_remember’ => ‘rememberme’,
‘id_submit’ => ‘wp-submit’,
‘value_username’ => ‘your user name’
);

//Calling login form
wp_login_form($args);

?>

<p>
<span id=”forgotPass”>Forgot Password</span>
<span id=”register”>Not a member ? <a href=”<?php echo home_url( ‘/registration/’ ); ?>”>Register Here</a></span>
</p>
</div>

Read more here:: Can not write to the username field created with wp_login_from()

Leave a Reply

Your email address will not be published. Required fields are marked *