Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    how did you add the login form? The proper way is to use WordPress’ own.

    https://codex.www.ads-software.com/Function_Reference/wp_login_form

    Thread Starter Mindiscover

    (@mindiscover)

    Hey Steven, Thanks for your reply

    – this is my HTML code for the login form:

    <div class="entry-content">
        <div class="entry-content">
    	<form class="form-3">
        <p class="clearfix">
            <label for="login">Username</label>
            <input type="text" name="login" id="user_login" placeholder="Username">
        </p>
        <p class="clearfix">
            <label for="password">Password</label>
            <input type="password" name="password" id="user_pass" placeholder="Password">
        </p>
        <p class="clearfix">
            <input type="checkbox" name="remember" id="rememberme">
            <label for="remember">Remember me</label>
        </p>
        <p class="clearfix">
            <input type="submit" name="submit" value="wp-submit">
    
        </p>

    I know there is a shortcode for WordPress login form, still I would like to stick to that code because it comes with a nice CSS Code.

    What do I need to add and where for making this login form to work?

    Thanks!

    Kindly change

    <form class="form-3">

    to this

    <form name="loginform" id="loginform" class="form-3" action="https://yoursite.com/wp-login.php" method="post">

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Members login form’ is closed to new replies.