23 Responses

  1. Vikram
    Vikram August 31, 2011 at 3:28 am |

    Nice tutorial, but when I sign in I got 404 mainly because nothing found on
    localhost/wp-latest/wordpress/wp-latest/wordpress

    My installation base url is localhost/wp-latest/wordpress

    Do I need to alter return statement?

    Reply
  2. George Serradinho
    George Serradinho October 9, 2011 at 5:57 pm |

    Thanks for this tutorial. I have added the shortcode to my blog and will be modifying it a bit to show more details when logged in.

    I am adding more shortcodes to my blog, so this one was perfect. I hope to share my modified version once complete.

    Reply
  3. » How to create a login form shortcode for your WordPress blog - IT Mix UP: Active IT Blender
  4. ساختن کد میانبر برای فرم لاگین | قالب , پلاگین و آموزش وردپرس
  5. Colocar formulario de login a WordPress mediante shortcodes | SummArg
  6. kruz
    kruz October 22, 2011 at 11:28 pm |

    Nice Tips. Thx!

    Reply
  7. WordPress-Newsletter Nr. 27 | WordPress & Webwork
  8. Login Shortcode en Wordpress | Diseño de páginas webs
  9. 如何在WordPress中通过简码调用登录表单?
  10. How To Create And Display WP Login Form On Posts With Shortcode
  11. How to create a login form shortcode for your WordPress blog
  12. ساختن کد میانبر برای فرم لاگین
  13. Eric Uned
    Eric Uned November 24, 2011 at 6:45 pm |

    Thanks for the plugin! I´ve finally found it.
    Thats what i was looking for.

    Kind regards!!

    Reply
  14. amanda
    amanda December 2, 2011 at 8:09 am |

    is there a way to offer a logout link for users that are logged in?

    Reply
  15. Dean Taylor
    Dean Taylor March 28, 2012 at 1:40 pm |

    Remember to read the documentation – the ShortCode API documentation ( http://codex.wordpress.org/Shortcode_API ) states the following:

    “Shortcode names should be all lowercase and use all letters, but numbers and underscores (not dashes!) should work fine too.”

    So the above example is a bad example of a short code name “[my-login-form]“/”[devpress-login-form]” should be changed to “[my_login_form]”

    The risks of using “hypens” in the short code names is listed later in the offical Shortcode API page.

    Reply
  16. Steinar
    Steinar April 16, 2012 at 4:07 pm |

    Thanks for sharing this. Just the CSS classes alone were a huge help!

    - Steinar

    Reply
  17. keha76
    keha76 September 2, 2012 at 5:36 am |

    It would be nice if there were an equally easy way to put an “edit profile” on the front end. Maybe there is?

    Reply
  18. Alma
    Alma December 17, 2012 at 2:20 am |

    I literally could not find anything else and I was a bit hesitant to mess with my theme’s functions but the login form works beautifully. Thanks!

    Reply
  19. mas
    mas February 25, 2013 at 11:00 am |

    I have completely messed my website.I used the codes that you mentioned in the function.php.
    However I am not able to log into my website. All the codes appear to come on my webpage header.
    how can remove this and be able to log in to dashboard.

    Reply
  20. Adding a login form to a page | Snippets of Codes
  21. Avery Z Chipka
    Avery Z Chipka April 6, 2013 at 9:12 am |

    Nice write up everything works perfect. I am using the short code provided on a page that users are directed to after trying to access a page they don’t have access to. What I am wondering is if there is a way to embed in the short code a redirect to the previous page requested or a static one after login.

    On my normal wordpress login page when someone logs in they get redirected but when I use the form made via the shortcode above the redirect does not occur.

    Thoughts / Suggestions etc…

    Reply

Leave a Reply

By submitting a comment here you grant this site a perpetual license to reproduce your words and name/Web site in attribution.

Please use your real name or a pseudonym (i.e., pen name, alias, nom de plume) when commenting. If you add your site name, company name, or something completely random, I'll likely change it to whatever I want.