Support » Plugin: SimpleModal Login » simplemodal-login.

Viewing 3 replies - 1 through 3 (of 3 total)
  • I did the following in my Header.php file. you can style according to your needs. Hope this helps

    <tr>
    <td><?php if (!is_user_logged_in()){ ?>
    <div style="text-align:right;margin-top:10px;">
    <a style="font-size:16px;text-decoration:underline;" href="/wp-login.php?redirect_to=<?php echo $_SERVER['REQUEST_URI']; ?>" class="simplemodal-login">Log In</a> 
    <a style="font-size:16px;text-decoration:underline;" href="/wp-login.php?action=register" class="simplemodal-register">Register</a> </div> <?php } ?></td>
    </tr>

    This will create two links – login and register. On click, this will open a popup where user can enter their details

    Hi Pankaj,

    Thanks for the help. I’m not exactly sure how to do this. Would this be done in the WP editor or is this something that will need to be done from my cPanel?

    Thanks.

    Hi,

    I think I figured it out. I added the the code that you gave just before the <div id=”main”> tag at the end of the Header.php file. I do see the Login and register link but the Register link doesn’t work. It does bring up a login box when you click login but there’s no way to register.

    Thanks.

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