New field in registration form - by cardinalno

This topic has 4 replies, 2 voices, and was last updated 9 years ago ago by Eva Kemp

  • Avatar: cardinalno
    cardinalno
    Participant
    April 16, 2015 at 20:02

    I should add a field in the registration form, and to do this I added the code in the file-et registration.php
    as private content

    how can I do to record this information on the DB?
    what files should I change?

    Please, contact administrator
    for this information.
    3 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    April 16, 2015 at 20:30

    Hello,

    You need also edit the file wp-content/themes/legenda/framework/theme-functions.php, find “! Registration” block on line 1177.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: cardinalno
    cardinalno
    Participant
    April 16, 2015 at 22:26

    yes but what have to write in order to save the new metadata “hobby” into the database if we don’t validate the field, could you write me the code please…
    maybe i have to use the function update_user_meta?
    can you help me please?
    thank you

    Avatar: Eva
    Eva Kemp
    Support staff
    April 17, 2015 at 08:18

    Hello,

    Sorry, but this requires additional customization which isn’t for free and it’s beyond of our basic support scope. If you agree you can contact us via this contact form https://www.8theme.com/contact-us/ .

    Thank you.
    Regards,
    Eva Kemp.

  • Viewing 4 results - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.