<?php if ( ! is_user_logged_in() ) { // Display WordPress login form: $args = array( 'redirect' => admin_url(),<br />
        'form_id' => 'loginform-custom',<br />
        'label_username' => __( 'Username custom text' ),<br />
        'label_password' => __( 'Password custom text' ),<br />
        'label_remember' => __( 'Remember Me custom text' ),<br />
        'label_log_in' => __( 'Log In custom text' ),<br />
        'remember' => true<br />
    );<br />
    wp_login_form( $args );<br />
} else { // If logged in:<br />
    wp_loginout( home_url() ); // Display "Log Out" link.<br />
    echo " | ";<br />
    wp_register('', ''); // Display "Site Admin" link.<br />
}<br />
?>