Using this snippet you will be able to append a login form anywhere in your theme using shortcodes Continue reading
function wpc_login_form_shortcode() {
if ( is_user_logged_in() )
return '';
return wp_login_form( array( 'echo' => false ) );
}
function wpc_add_shortcodes() {
add_shortcode( 'wpc-login-form', 'wpc_login_form_shortcode' );
}
add_action( 'init', 'epc_add_shortcodes' );
Source: Wprecipes.com