WordPress.org

Forums

Ward
Login and Register Pages (3 posts)

  1. itnext
    Member
    Posted 1 year ago #

    Hey there - great theme - sharp easy to use.
    Can i get the theme to apply to the Login and Register pages?
    regards
    Damian

  2. itnext
    Member
    Posted 1 year ago #

    The following code saved as a template almost works except the Column 2 data (the site has 2 columns elsewhere) appears in Column 2 but dropped about 70px or so...

    <?php
    /*
    Template Name: Login Page
    */
    ?>
    
    <?php get_header(); ?>
    
    <div id="left">
    <div id="archive">
    
    <h2><?php the_title(); ?></h2>
    
    <div id="primary" class="col-md-8">
    
    <form name="loginform" id="loginform" action="<?php echo get_option('home'); ?>/wp-login.php" method="post">
    	<p>
    		<label>Username
    		<input type="text" name="log" id="user_login" class="input" value="" size="20" tabindex="10" /></label>
    	</p>
    	<p>
    
    		<label>Password
    		<input type="password" name="pwd" id="user_pass" class="input" value="" size="20" tabindex="20" /></label>
    	</p>
    	<p class="forgetmenot"><label><input name="rememberme" type="checkbox" id="rememberme" value="forever" tabindex="90" /> Remember Me</label></p>
    	<p class="submit">
    		<input type="submit" name="wp-submit" id="wp-submit" class="button-primary" value="Log In" tabindex="100" />
    		<input type="hidden" name="redirect_to" value="<?php echo get_option('home'); ?>/wp-admin/" />
    
    		<input type="hidden" name="testcookie" value="1" />
    	</p>
    </form>
    
    <p id="nav">
    <a>/wp-login.php?action=lostpassword" title="Password Lost and Found">Lost your password?</a>
    </p>
    </div>
    </div>
    </div>
    
    <?php get_sidebar(); ?>
    <?php get_footer(); ?>
  3. c.bavota
    Member
    Theme Author

    Posted 1 year ago #

    I would suggest copying over page.php and start your template using that file.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.