How to create wordpress login form shortcode


Add the following code in your functions.php

function my_login_form_shortcode() { 
 return wp_login_form( array( 'echo' => false  )  ); 
add_shortcode( 'login-form', 'my_login_form_shortcode' );



Related Post

Latest Post

Recent Posts Widget

Make sure to never miss a thing...

Get the latest news from the creative industry along with other creative goodies, conveniently delivered to social media.