Shortcode

It’s easy to use the login from anywhere on your website by simply adding the

[magic_login_form]

shortcode. Most of the time it doesn’t require any additional effort to make it nice, but you can still customize it through custom CSS.

Customizations

  • Form target URL can be controlled with magic_login_shortcode_form_action hook
  • Specific redirected address with redirect_to attribute in shortcode

Use it in custom Template

<?php echo do_shortcode( '[magic_login_form redirect_to=""]' ); ?>