Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter alfonsoborghi

    (@alfonsoborghi)

    Hi Steven,
    I’ve updated the plugin and now it’s working perfectly!

    Thank you very much!

    Alfonso

    Thread Starter alfonsoborghi

    (@alfonsoborghi)

    In the template, the login form is called by:

    <?php wp_login_form( $args ); ?>

    but this is what it really get, the nonce field is not present, but how can I modify the wp_login_form call, can I use the $args variable?:

    <form name="loginform" id="loginform" action="https://www.rotarymodena.it/wp-login.php" method="post">
    			
    			<p class="login-username">
    				<label for="user_login">Nome utente</label>
    				<input type="text" name="log" id="user_login" class="input" value="" size="20" />
    			</p>
    			<p class="login-password">
    				<label for="user_pass">Password</label>
    				<input type="password" name="pwd" id="user_pass" class="input" value="" size="20" />
    			</p>
    			
    			<p class="login-remember"><label><input name="rememberme" type="checkbox" id="rememberme" value="forever" /> Ricordami</label></p>
    			<p class="login-submit">
    				<input type="submit" name="wp-submit" id="wp-submit" class="button button-primary" value="Login" />
    				<input type="hidden" name="redirect_to" value="https://www.rotarymodena.it" />
    			</p>
    			
    		</form>

    Thank you

    Thread Starter alfonsoborghi

    (@alfonsoborghi)

    Hi, thank you for your fast reply.
    I checked the wp-login.php and actually it works now.
    The issue is that many FE users use another page to login:
    https://www.rotarymodena.it/?page_id=1666&#8221; a page generated by a “Login user page” template, wich has not the nonce hidden field.
    So I simply need to add this hidden field to the template. I do not know why it was working before, anyway how do I get the nonce number to include in the form?.
    Thank you very much

Viewing 3 replies - 1 through 3 (of 3 total)