1. Mayur


    How would I link this to a payment page? As when they register I want to charge them for access to my site.

    Many Thanks

  2. Sadrack León

    Hi Pippin. This tutorial is very good, well explained and very complete. I have only one problem: I tried to add a Captcha test, but I can’t make it work. Could you assist me?


    • Pippin

      If you show me your code I can try.

  3. dominik

    i know that this is supposed to be a simple example, but you are not sanitizing the first name or last name inputs unless I missed something and anyone following this example would have a very nice security flaw in their registration process.

    • Pippin

      You are absolutely right. I’ll get it updated with proper sanitization.

  4. suresh

    plug in good ,and nice tutorial, i need to add more , upload file option like pic during registration.

  5. Alex

    Could you please tell me how to add the google no reCAPTCHA to this plugin?

  6. harry

    thanks.. nice tutorial.
    just additional info:
    focus in = function pippin_login_member() {..}

    #function get_userdatabylogin() is deprecated
    ref: https://codex.wordpress.org/Function_Reference/get_userdatabylogin

    change with this: $user = get_user_by(‘login’, $_POST[‘pippin_user_login’] );

    ## maybe we need to check if user is exists before checking password. if not, maybe we found error messages like this = “Warning: hash_equals(): Expected known_string to be a string, null given ..”

    if($user) {
    …} //end checking password
    } //end checking $user

  7. kimhuy

    This tutorial is great working for user front-end login and registration. One more I want to add a lost password form for user click submit to get an email reset link. Hope you can help 🙂

  8. Gagan Verma

    hello pipin,,i would like to thank you for such a nice plugin. i have a problem with this plugin,,it is when a new user register to our site he/she is redirected to a blank page and when he/she refresh that blank page then the register page is opend. i just want toload the login form after succesful registration instead of loading a blank page..how can i fix it??

  9. Gagan Verma

    i hope you got me Pippin??

  10. kavita

    hello i want to create plugin for registration by using opt verification how can do it

  11. Tanu

    how can i convert it into a multi step registration form??

  12. sam

    that’s very good plugin, I love it

  13. Enzo

    I cannot download the file. It’s not working anymore. I need help creating a sign up form for my website 🙁

  14. Vishal Sharma

    I have created this registered form, but it is not reflecting in my site, and showing default wordpress registration and login.
    Also, motive to create this form is to customize retgistration form which login site using only user email , no password.
    please help me regarding this.


    • Vishal Sharma

      Sorry, i just found the way. now it is displaying but still i have question that what changes should i make to login just by email , no password require. please help.


    • Toon

      @ thamaraiselvam
      Create a post or page and add the shortcake [register_form].
      Then open that page or post in your browser.

  15. rob

    for the if condition on pippen_login_member function,
    shouldn’t be added empty check? ( !empty($_POST[‘pippin_user_login’]) )

    if(isset($_POST[‘pippin_user_login’]) &&!empty($_POST[‘pippin_user_login’]) && wp_verify_nonce($_POST[‘pippin_login_nonce’], ‘pippin-login-nonce’)) {

    if you don’t add username and submit, this line comes an error as non-object for user->user_pass, id
    “Notice: Trying to get property of non-object in …. this line”

    if(!wp_check_password($_POST[‘pippin_user_pass’], $user->user_pass, $user->ID)) {

    or add if(!user)…. ?

  16. Kalpesh

    Excellent Plugin its very use full us.

  17. Toon

    I really like this tutorial. It gave me a lot more insight in creating plugins. Thank you for that.
    One simple question though:
    How can I prevent the new registered user from being logged in?
    I commented out every bit that makes the user get logged in, but that doesn’t seem to work.
    I think it has something to do with the s2Member plugin, because I tested it on another website (without s2Member) and then the new registered user does not get logged in (exactly what I wanted).

    Any ideas what may cause this?

    • Pippin

      Could you post your final code to snippi.com and then share a link so I can see it?

  18. Tabira

    Very nice one, I also use Custom Login Form plugin on wordpress for my website. It is designed with security, redirection and design/style features for Website and you can Customize your admin login page.

  19. Tabira

    Great plugin, I also Use Custom Login Form plugin on wordpress for your website. It is designed with security, redirection and design/style features for Website and you can Customize your admin login page.

  20. koor

    Added [register_form] on page, but nothing is displayed… ?

    • koor

      Shortcode is now working, but now I’m getting that registration.php was removed and there is no replacment and

      Undefined index: pippin_login_nonce

  21. Syeda

    I hv created the plugin by copying all the code but when i give short code [register_form] on my page its not displaying anything.
    on the other hand if i able to run it it is really useful and nice tut for me
    Thnx pippin

    • Pippin

      Are you logged in? The form will only show when logged out.

  22. test

    h btvbtuyvu6

Leave a Reply

Error: Please enter a valid email address

Error: Invalid email

Error: Please enter your first name

Error: Please enter your last name

Error: Please enter a username

Error: Please enter a password

Error: Please confirm your password

Error: Password and password confirmation do not match