login module not displaying register button and...

Modern e-commerce WordPress theme to build successful online store with WooCommerce support.
GK User
Thu Oct 10, 2013 10:35 pm
Hi,
I write to ask about the login module on tue top menu with the overlAy effect.
That particular module does not have a register button for new users and on e logged in, if you click it ( since it says my account you expect to find your account management) it just tells hi "name of user" displaying the log out button.

Is there a way to have in the overlay effect a complete login module? With the register button and account management once logged in?

Thanks in advance
User avatar
Fresh Boarder

GK User
Fri Oct 11, 2013 7:39 am
Hi,

You have to edit ShopAndBuy/layouts/popups.php file and add this fragment around line 58, before <?php endif; ?>
Code: Select all
<nav class="small">
            <ul>
               <li>
                  <a href="<?php echo home_url(); ?>/wp-login.php?action=lostpassword" title="<?php _e('Password Lost and Found', GKTPLNAME); ?>"><?php _e('Lost your password?', GKTPLNAME); ?></a>
               </li>
               <li>
                  / <a href="<?php echo home_url(); ?>/wp-login.php?action=register" title="<?php _e('Not a member? Register', GKTPLNAME); ?>"><?php _e('Register', GKTPLNAME); ?></a>
               </li>
            </ul>
         </nav>


Then you probably should add some CSS to style your links.
User avatar
Moderator


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.