The Alchemist
08-05-2012, 03:46 PM
Hi,
I was hoping that someone can help me with this as I have no clue where the form for this code lies. I want to redesign it and I don't even know what it is called or if it is in fact already in the code.
It's a login form a box for username and password and then a link that says register...
This is what I find in the php file for the homepage design:
<div class="sidebar-box" style="margin-bottom: 5px;">
<div class="sidebar-box-head" style="height: 0px; padding-top: 5px;">
<?php /*global $user_ID, $user_identity; get_currentuserinfo(); if (!$user_ID) { ?>
Already with us? Login here:
<?php } else { ?>
Welcome, <?php echo $user_identity; ?>
<?php }*/ ?>
</div>
<div class="sidebar-box-content" style="background: none;">
<?php global $user_ID, $user_identity; get_currentuserinfo(); if (!$user_ID) { ?>
<?php $args = array(
'echo' => true,
'redirect' => site_url( ),
'form_id' => 'loginform',
'label_username' => __( 'Username' ),
'label_password' => __( 'Password' ),
'label_remember' => __( 'Remember Me' ),
'label_log_in' => __( 'Log In' ),
'id_username' => 'user_login',
'id_password' => 'user_pass',
'id_remember' => 'rememberme',
'id_submit' => 'wp-submit',
'remember' => true,
'value_username' => NULL,
'value_remember' => false ); ?>
<?php wp_login_form( $args ); ?>
<a href="<?php bloginfo('home'); ?>/wp-login.php?action=register">Register</a>
<?php } else { ?>
<div class="sidebox">
<?php global $userdata; get_currentuserinfo(); ?>
<p>You’re logged in as <strong><?php echo $user_identity; ?></strong>
<a href="<?php echo wp_logout_url('index.php'); ?>">Log out</a> |
<?php if (current_user_can('manage_options')) {
echo '<a href="' . get_option('dashboard_url') . '">' . __('Admin') . '</a>'; } else {
echo '<a href="' . get_option('dashboard_url') . '">' . __('Profile') . '</a>'; } ?>
</p>
</div>
<?php } ?>
</div> The page is for my own business and I have a guy that is supposed to do it but he doesn't seem to know how to do it. So I plead to you coders.. Please help!:confused:
http://andalusitano.com/wp-content/uploads/login.jpg What I want to do is to make the text above the login boxes smaller and I want the word register to either come on the same line as the login and password or have a button for it (an image) next to the login button...
I was hoping that someone can help me with this as I have no clue where the form for this code lies. I want to redesign it and I don't even know what it is called or if it is in fact already in the code.
It's a login form a box for username and password and then a link that says register...
This is what I find in the php file for the homepage design:
<div class="sidebar-box" style="margin-bottom: 5px;">
<div class="sidebar-box-head" style="height: 0px; padding-top: 5px;">
<?php /*global $user_ID, $user_identity; get_currentuserinfo(); if (!$user_ID) { ?>
Already with us? Login here:
<?php } else { ?>
Welcome, <?php echo $user_identity; ?>
<?php }*/ ?>
</div>
<div class="sidebar-box-content" style="background: none;">
<?php global $user_ID, $user_identity; get_currentuserinfo(); if (!$user_ID) { ?>
<?php $args = array(
'echo' => true,
'redirect' => site_url( ),
'form_id' => 'loginform',
'label_username' => __( 'Username' ),
'label_password' => __( 'Password' ),
'label_remember' => __( 'Remember Me' ),
'label_log_in' => __( 'Log In' ),
'id_username' => 'user_login',
'id_password' => 'user_pass',
'id_remember' => 'rememberme',
'id_submit' => 'wp-submit',
'remember' => true,
'value_username' => NULL,
'value_remember' => false ); ?>
<?php wp_login_form( $args ); ?>
<a href="<?php bloginfo('home'); ?>/wp-login.php?action=register">Register</a>
<?php } else { ?>
<div class="sidebox">
<?php global $userdata; get_currentuserinfo(); ?>
<p>You’re logged in as <strong><?php echo $user_identity; ?></strong>
<a href="<?php echo wp_logout_url('index.php'); ?>">Log out</a> |
<?php if (current_user_can('manage_options')) {
echo '<a href="' . get_option('dashboard_url') . '">' . __('Admin') . '</a>'; } else {
echo '<a href="' . get_option('dashboard_url') . '">' . __('Profile') . '</a>'; } ?>
</p>
</div>
<?php } ?>
</div> The page is for my own business and I have a guy that is supposed to do it but he doesn't seem to know how to do it. So I plead to you coders.. Please help!:confused:
http://andalusitano.com/wp-content/uploads/login.jpg What I want to do is to make the text above the login boxes smaller and I want the word register to either come on the same line as the login and password or have a button for it (an image) next to the login button...