• Resolved Mareva

    (@cracoucas)


    Hi!
    Thank you for this easy-to-use plugin.
    It’s perfect for my needs.
    Please, could you just tell me how to add a link “forgot password”.
    This can be just a link to the standard “……/wp-login.php?action=lostpassword”

    Regards,
    Mareva

    https://ww.wp.xz.cn/plugins/login-sidebar-widget/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author aviplugins.com

    (@avimegladon)

    In the plugin directory open the file named “login_afo_widget.php”
    Go to line number 69
    Here you can see the form structure like this.

    <ul class="login_wid">
    			<li>Username</li>
    			<li><input type="text" name="user_username" required="required"/></li>
    			<li>Password</li>
    			<li><input type="password" name="user_password" required="required"/></li>
    			<li><input name="login" type="submit" value="Login" /></li>
    			</ul>

    Here add your link for “forgot password”. Just replace the code with the code provided below.

    <ul class="login_wid">
    			<li>Username</li>
    			<li><input type="text" name="user_username" required="required"/></li>
    			<li>Password</li>
    			<li><input type="password" name="user_password" required="required"/></li>
    			<li><input name="login" type="submit" value="Login" /></li>
    <li><a href="<?php echo wp_lostpassword_url(); ?>" title="Lost Password">Forgot Password?</a></li>
    			</ul>
    Thread Starter Mareva

    (@cracoucas)

    Thank you!
    Just added: It makes the job!

    Best regards
    mareva

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

The topic ‘Forgot password’ is closed to new replies.