• Resolved strategaweb

    (@strategaweb)


    Hello,
    we’ve created two registration forms for our website and added fields like phone number and company etc. We’ve created a custom “Edit Profile” page, which is not the standard WP user profile interface you can access in the backend (because users aren’t supposed to get access to the backend at all), but just a page the user can access on the frontend. Is there any way to display these fields on the frontend of our profile page? I’ve tried searching the database for the fields themselves, but couldn’t find them anywhere.
    We’d also obviously want to make the data editable…

    Thanks in advance!

    • This topic was modified 4 years, 5 months ago by strategaweb.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @strategaweb,

    I think you can directly use the User Registration Plugins’ login form and dashboard for your users so that they can log in and see their profile details on the dashboard. And yes, they can edit their information too.
    You can use this shortcode [user_registration_my_account] to display the login form on the page which you want to use as an account page and when the user logs in, they will be able to see their information in the dashboard.

    However, if you want to know where the details are stored then it is stored in the database in two different tables, wp_users, and wp_posts.

    I hope it helps.
    Regards!

    Thread Starter strategaweb

    (@strategaweb)

    Hi,
    thanks for you help!

    Just one more question: is it possible to allow the user to delete their profile/account and add a specific button/link for this purpose to the profile details page?

    Hi @strategaweb,

    No, the users cannot do so. Only admins have the right to delete a user account. The users can request the site admin for deleting their account through contact forms or email.

    Regards!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Where to find certain fields in database’ is closed to new replies.