Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

In my WordPress based site, I want to add a custom field (e.g. type of user - employee, investor) in the user registration form in the admin side, without editing the core file. Can anyone please suggest how can I do it, may be a plug-in or some script?

I have already tried Cimi, Register Plus, CYC plug-ins but they all give facility to add custom field from front side registration form OR in the user edit form after the user is registered for first time from admin side. Is there any way we can do it in the user register form from admin side?

share|improve this question

migrated from stackoverflow.com Feb 26 '12 at 6:14

This question came from our site for professional and enthusiast programmers.

3 Answers 3

To be able to do both - i.e. add something to the registration form AND have it editable from the admin side, you need to do 2 things.

The first, is add extra user meta (so you can see them from the admin side) and the second is to create a new registration template which hooks into WP's registration process.

There's a great tutorial at:

http://webcache.googleusercontent.com/search?q=cache:MO4DlL7hGQkJ:www.cozmoslabs.com/1012-wordpress-user-registration-template-and-custom-user-profile-fields/+&cd=1&hl=en&ct=clnk&gl=au&client=firefox-a

Which covers pretty much everything. Good luck!

share|improve this answer
    
thanks, I'll check it out. –  Prashant Mar 9 '11 at 6:34

http://www.cozmoslabs.com/wordpress-profile-builder/ the pro version of Profile Builder lets you add user fields directly in the backend (Users>Add New User).

However it won't add those fields in the WordPress registration (example.com/wp-login.php?action=register) if you need that.

share|improve this answer

There are many plugins to add custom fields in user registration form as well as to their profile.

The best I found and also using on one of my site is "Register Plus Redux" off course it is free. I think it would be a better solution for you too.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.