Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Vivek Marakana

    (@vivekmarakana)

    Remove this much of code from tabbed-ligon.php

    <?php  if(get_option('users_can_register')) { ?>  
    
    		<div id="register" class="tab_content_login" style="display:none;">
    			<h3><?php _e('Register for this site!', 'tabbed-login'); ?></h3>
    			<p><?php _e('Sign up now for the good stuff.', 'tabbed-login'); ?></p>
    			<form method="post" action="<?php echo site_url('wp-login.php?action=register', 'login_post') ?>" class="wp-user-form">
    				<div class="username">
    					<label for="user_login"><?php _e('Username', 'tabbed-login'); ?>: </label>
    					<input type="text" name="user_login" value="<?php echo esc_attr(stripslashes($user_login)); ?>" size="20" id="user_login" tabindex="101" />
    				</div>
    				<div class="password">
    					<label for="user_email"><?php _e('Your Email', 'tabbed-login'); ?>: </label>
    					<input type="text" name="user_email" value="<?php echo esc_attr(stripslashes($user_email)); ?>" size="25" id="user_email" tabindex="102" />
    				</div>
    				<div class="login_fields">
    					<?php do_action('register_form'); ?>
    					<input type="submit" name="user-submit" value="<?php _e('Sign up!', 'tabbed-login'); ?>" class="user-submit" tabindex="103" />
    					<?php $register = $_GET['register']; if($register == true) { echo '<p>Check your email for the password!</p>'; } ?>
    					<input type="hidden" name="redirect_to" value="<?php echo $current_url; ?>?register=true" />
    					<input type="hidden" name="user-cookie" value="1" />
    				</div>
    			</form>
    		</div>
    
    		<?php }; ?>
    Thread Starter Xeo01

    (@xeo01)

    Thanks! That part I got. I meant the actual tab itself. The tab is there and it shows no content. Want to remove the tab all together.

    Plugin Author Vivek Marakana

    (@vivekmarakana)

    Okay then remove this code from file

    <?php  if(get_option('users_can_register')) { ?>
    		<li><a href="#register"><?php _e('Register', 'tabbed-login') ?></a></li>
    		<?php }; ?>
    Thread Starter Xeo01

    (@xeo01)

    Thanks! I found it late last night. Great plugin by the way!

    Is there a way to change where you redirect to after a successful login. Instead of the dashboard I want it to go to my home page.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Remove Registration Tab’ is closed to new replies.