• Hi everyone, I would appreciate some guidance here since I am new to wordpress structure. Um, I have a wordpress website with a theme called Traveler. Traveler allow me to have a user dashboard with some basic fields such as username password and fullname. I need some extra fields though. I saw that via wordpress administration panel i can edit a user and find those fields. For some reason Traveler must have inserted those fields there. However i need to be able to edit them via the dashboard and not via wordpress admin panel. My question is where exactly is the code with the <input> tags that extend the basic fields and allow the user to have extra fields like billing address in the wordpress panel? I think that if I find that i will create some hooks in my dashboard and everthing will work. I searched all over the theme files with the input name which I took though F12 inspector but found nothing. Any ideas? I appreciate any help… in any case this is a wrong place to post this please inform me.

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    To answer your question even though it would not directly serve your needs: /wp-admin/user-edit.php starting around line 407.

    To manage these values on your own (or customized version of the theme’s) dashboard page, get and save the values directly from/to the DB. Use functions like get_user_meta() and update_user_meta(). When updating, be sure you are sanitizing and validating any user provided data.

Viewing 1 replies (of 1 total)

The topic ‘Custom dashboard with extra user information’ is closed to new replies.