Viewing 1 replies (of 1 total)
  • Plugin Author Fida Al Hasan

    (@fida02)

    Hello,

    You have to customize code in two place.

    First go to sb-login/sb-login.php

    Find this code:

    nd_login_load_template( 'tabs.php' );
    		nd_login_load_template( 'login-form.php' );
    		if (get_option('users_can_register')) nd_login_load_template( 'register-form.php' );
    		nd_login_load_template( 'lost-password-form.php' );

    Replace it with this:

    nd_login_load_template( 'tabs.php' );
    		if (get_option('users_can_register')) nd_login_load_template( 'register-form.php' );
    		nd_login_load_template( 'login-form.php' );
    		nd_login_load_template( 'lost-password-form.php' );

    Now go to sb-login/template/tabs.php

    Find this:

    <ul class="nd_tabs">
    		<li class="active"><a href="#nd_login_form"><?php _e('Login', 'ninety'); ?></a></li>
    		<?php if (get_option('users_can_register')) : ?><li><a href="#nd_register_form"><?php _e('Register', 'ninety'); ?></a></li><?php endif; ?>
    	</ul>

    Replace it with this:

    <ul class="nd_tabs">
    <?php if (get_option('users_can_register')) : ?><li class="active"><a href="#nd_register_form"><?php _e('Register', 'ninety'); ?></a></li><?php endif; ?>
    		<li><a href="#nd_login_form"><?php _e('Login', 'ninety'); ?></a></li>
    	</ul>

Viewing 1 replies (of 1 total)
  • The topic ‘Change Tabs Register to Login’ is closed to new replies.