[Plugin: Theme My Login] Modifying the Profile Page
-
I added a field for a mobile phone number to the registration, that works fine. I wanted to add it to the profile page as well, so I added this code to the profile-page.php:
<tr> <th><label for="mobile_number"><?php _e( 'Mobile Number', 'theme-my-login' ) ?></label></th> <td><input type="text" name="mobile_number" id="mobile_number" value="<?php echo esc_attr( $profileuser->mobile_number ) ?>" class="regular-text" /></td> </tr>It adds the field, but doesn’t echo the password previously selected.
Another problem is, that modifying the profile page, doesn’t modify the profile page of other users that I can see as an admin, so I can’t even see the custom fields. How can I fix this?
Thanks a lot
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
The topic ‘[Plugin: Theme My Login] Modifying the Profile Page’ is closed to new replies.