Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Login Form Shortcode

Simple login form based on the builtin wp_login_form() function.

// Add Shortcode
function login_form_shortcode() {

	wp_login_form();

}
add_shortcode( 'login_form', 'login_form_shortcode' );