• Hey everyone. I’m working with Theme My Login and WordPress Users plugins to create users and profile pages. I saw the instructions for adding more fields into the registration page, but I want to add more fields in the profile page, like a title of a project the user is working on and the project description.

    What would I have to change in the registration field code to put it on my profile pages and have it viewable to the public like the “About me” field?

    Thank you.
    – Sarah S

    https://wordpress.org/plugins/theme-my-login/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi Sarah,

    if I understand you correctly, you want to have your own profile page right?

    If so, please take a look at http://www.jfarthing.com/development/theme-my-login/templates/. There you can find:

    profile_template

    . You have to copy this template file and put it in your root theme folder. And you modify or add some fields in it. (If you haven’t done it already).. 🙂

    Hope this helps..

    _Dono_

    Thread Starter SarahS91

    (@sarahs91)

    Hi gdprabowo,

    Thank you for your response. What I’m looking for is a profile page that can be viewed by other uses, which I’ve achieved by using the WordPress Users plugin. What I’m looking to do is add more fields that can be seen via that plugin using the information the user puts in on their edit profile page that Theme my login offers.

    I have the profile_template enabled and all but when I edit and copy the piece he had for the publicly displayed describtion, it overrides whatever I’ve written in for that box. see here:

    <tr>			<th><label for="description"><?php _e( 'About Your Cause' ); ?></label></th>
    			<td><textarea name="description" id="description" rows="5" cols="30"><?php echo esc_html( $profileuser->description ); ?></textarea><br />
    			<span class="description"><?php _e( 'Please share a description of your cause. This will be shown publicly.' ); ?></span></td>
    		</tr>
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Adding Additional Fields to Profile’ is closed to new replies.