• Resolved xrun

    (@xrun)


    I’d like to have the login box in the heading of the pages.
    I know there are themes that use this, but how do I add it to the theme I’ve selected for my setup?

Viewing 2 replies - 1 through 2 (of 2 total)
  • One way is to load your regular WP login page in a browser (e.g. somesitename.com/wp-login.php, view the HMTL source of the page, copy the HTML form portion, paste that into your theme where you want it, then adjust the style and layout to meet your needs.

    If you can’t do that then consider joining the WP-Pro mailing list and post a message to hire someone to do it for you.

    like this:

    <form id="loginform" action=" <?php echo site_url('wp-login.php', 'login_post') ?>&redirect_to=index.php" method="post" name="loginform">
        	username: <input type="text" name="log" id="user_login" class="input" value="<?php echo esc_attr($user_login); ?>" size="20" tabindex="10" />
            password: <input type="password" name="pwd" id="user_pass" class="input" value="" />
            <?php do_action('login_form'); ?>
            <input name="login" type="submit" value="<?php esc_attr_e('Log In'); ?>" id="login" class="bottone-login" />
          </form>

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Place login in page heading’ is closed to new replies.