Support » Fixing WordPress » HOWTO: Adding extra custom fields to wp-register.php

  • halfbloodprince

    (@halfbloodprince)



    Hey, people.

    Could anyone enlighten me as to how one should go about adding extra fields to the WordPress registration form? Is there a way to do this, using a plugin or otherwise?

    For example, the default wp-register.php page lets users register by selecting a Username and entering their e-mail address. If I wanted to add two more fields (say, Name and Age), how should I go about doing that?

    Thank you for your time 🙂 I’d be really grateful for any help regarding this.

Viewing 3 replies - 1 through 3 (of 3 total)
  • dbasulto

    (@dbasulto)

    take a look at wp-register.php
    see how it adds the user data to the db tables.
    if you’re skilled enough, you can add fields and put them on wp_meta table.
    you can even change it to use a user defined password.

    halfbloodprince

    (@halfbloodprince)

    dbasulto: Thanks for your prompt reply. I have a couple of questions. Can I just add the extra fields using phpmyadmin? And do I need to edit any table apart from wp_users_meta?

    to add user data to your registration pages or to your user profile pages you can try the cimy extra fields plugin. It’s all ready to go all you need is follow the instructions.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘HOWTO: Adding extra custom fields to wp-register.php’ is closed to new replies.