Title: simplemodal-login.
Last modified: August 20, 2016

---

# simplemodal-login.

 *  [MixxMAll](https://wordpress.org/support/users/mixxmall/)
 * (@mixxmall)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/simplemodal-login-1/)
 * Hi,
 * I’ve just installed the Simple Modal Login but I’m not sure how to implement 
   it. Do I need to create a page that acts as a front door to the home page in 
   order for the login box to show up for users?
 * Thanks.
 * Jamal
 * [http://wordpress.org/extend/plugins/simplemodal-login/](http://wordpress.org/extend/plugins/simplemodal-login/)

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

 *  [pankaj.bbs@gmail.com](https://wordpress.org/support/users/pankajbbsgmailcom/)
 * (@pankajbbsgmailcom)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/simplemodal-login-1/#post-3223189)
 * 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
 *  Thread Starter [MixxMAll](https://wordpress.org/support/users/mixxmall/)
 * (@mixxmall)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/simplemodal-login-1/#post-3223197)
 * 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.
 *  Thread Starter [MixxMAll](https://wordpress.org/support/users/mixxmall/)
 * (@mixxmall)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/simplemodal-login-1/#post-3223199)
 * 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.

 * ![](https://s.w.org/plugins/geopattern-icon/simplemodal-login.svg)
 * [SimpleModal Login](https://wordpress.org/plugins/simplemodal-login/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simplemodal-login/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simplemodal-login/)
 * [Active Topics](https://wordpress.org/support/plugin/simplemodal-login/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simplemodal-login/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simplemodal-login/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [MixxMAll](https://wordpress.org/support/users/mixxmall/)
 * Last activity: [13 years, 6 months ago](https://wordpress.org/support/topic/simplemodal-login-1/#post-3223199)
 * Status: not resolved