Support » Fixing WordPress » Extended Author Profiles

  • I want to extend the author profiles within wp, making it possible for authors to add address, zip code, city, birthday etc.

    I modded the profile.php file, and the fields I’ve created appear online in the profile page, but the content I enter isn’t being reproduced when I click the ‘update profile’ button.

    So I figured something else should be changed.

    I then looked in the template-functions-author.php file and saw I could define includes, and so I added the ones of the fields I’ve created, but still no results.

    Then I saw the registration-functios.php file where I could add stuff in the update_usermeta list.

    Still no result.

    My question is: what should I change to make wp 1. remember what has been inputted in the fields I’ve created and 2. reproduce it correctly when the settings are saved.


Viewing 6 replies - 1 through 6 (of 6 total)
  • Okay, I’m a bit further down the road. I created extra fields in PHPMyAdmin, on the SQL server.

    For every category I wanted to add in the profile, a new field in the existing table wp_users.

    In profile.php I call the fields, they appear. So far so good. (see previous post)

    in registration-functions.php I added:

    update_usermeta( $user_id, ‘street’, $user_address );

    and so on… to the list of existing update_usermeta that already was there.

    In that same file, a bit higher there’s an ‘if ( $update )’ section where I added:

    user_address = ‘$user_address’ (and so on) before the WHERE ID = ‘$ID'”;

    same file a bit below the previous rules I added it again where it says: $query = “INSERT INTO $wpdb->users

    I added user_address and so on for every desired field

    Then I also added to the VALUES section: ‘$user_address’ and so on for every desired field

    In the file template-functions-author.php I added functions to call all fields created:

    function get_the_author_address() {
    global $authordata;
    return $authordata->user_address;

    function the_author_address() {
    echo get_the_author_address();

    and repeated that for every desired field.

    It still doesn’t save the data I enter in the fields. What am I missing?


    did you tried to edit admin-functions.php ?

    You don’t actually need another table for that. Use the usermeta. Here’s the one I used.

    function mailinginfo_update() {
    global $user_ID;
    if(isset($_POST['street1'])) {
    if(isset($_POST['street2'])) {

    Use it in your plugin. Don’t touch the core files or you’ll regret it when upgrading time comes.



    I have installed the usermeta and userextra plugins and they have been activated.
    I can click on usernames at and i get an information page.
    What I would like to know is how do i change the question, add answers and also make the users appear in the side panel?

    any help at all appreciated, have searched everywhere and there dosn’t seem to be any step by step account on how to get all this usermeta/userextra plugins working.

    The bottom line is i just want users to be able to click on other users and read their extended profiles, all from a list contained in the side bar, help required desperately

    To list the authors on the sidebar, just put this wherever you want:
    <?php wp_list_authors(); ?>

    The admin is excluded by default. There is a way to include the admin. Unfortunately I don’t have that.

    As for adding the extended fields to the profile? I’m trying to figure that one out myself. :\

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Extended Author Profiles’ is closed to new replies.