0

i need to make a custom login form but i got a hard time finding references from my google search so i hope someone here is able to point towards some links to lay the grounds for me.

A standard wordpress registration normaly contains:

  • Username
  • Password
  • Email

well thats not enough for my needs :(

i need something like:

  • Username
  • First name
  • Last name
  • Phone number
  • Car Id
  • bool values for salary
  • Email
  • password

so.... making a custom login form like this is pretty easy but i'm pretty new to wordpress so i thought it better to ask some veterans in here for the proporway of doing it.

can someone post some links for the proper way to customize the login form like this?

first should i put all the none standard user info in the meta table?

second how would i go about adding these fields for the users to update them in the user settings section (proper wordpress way)?

//Alexander

thanks in advance, and sorry for my poor english :/

5

1 Answer 1

0

Building on what others have already mentioned in the comments - There is a tutorial which uses WordPress native action hooks register_form, registration_errors and user_register to help you out:

Add Fields to WordPress Registration Form Tutorial

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.