• Resolved Garique

    (@garique)


    Hello,

    I want to remove login form on my page, I don´t want to allow visitors to see this form, I disabled registration for anyone in settings, but can someone tell me how to remove this?

    http://imageshack.us/a/img515/9954/loginarea.png
    http://imageshack.us/a/img10/892/loginformo.png

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • How you go about removing those links will depend on what theme you are using.

    So first up, please let us know the name of the theme in use on your site.
    Secondly, a link to the live site would be helpful for to be able to see the code and offer a feasible solution.

    Thread Starter Garique

    (@garique)

    I found it while after I made this topic I deleted this part in header.php I marked topic as resolved but thank you for you assistance…

    <div id="sidebar-meta" class="widget">
        <?php echo '<h3>' . __('Meta', 'theme') . '</h3>'; ?>
    
    <ul>
          <?php wp_register(); ?>
    
    <li><?php wp_loginout(); ?></li>
          <?php wp_meta(); ?>
        </ul>
      </div>
    
    <div class="fright">
    					<?php if(is_user_logged_in()) { ?>
    						<p class="reg-info"><?php wp_loginout(); ?> <?php _e('of your account', 'theme');?></p>
    					<?php } else { ?>
    						<p class="reg-info">You have not yet registered to our club? <a>/wp-login.php?action=register"><?php _e('Register', 'theme');?></a> <?php _e('or', 'theme');?> <?php wp_loginout(); ?></p>
    					<?php } ?>
    					<div id="widget-header">
    						<?php if ( ! dynamic_sidebar( 'Header' ) ) : ?><!-- Wigitized Header --><?php endif ?>
    					</div><!--#widget-header-->
    				</div>
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Register, login form’ is closed to new replies.