Title: user-profile Modification
Last modified: May 26, 2017

---

# user-profile Modification

 *  [G](https://wordpress.org/support/users/glienhard/)
 * (@glienhard)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/user-profile-modification/)
 * I had to modify the how the user-profile shortcode displays the requested fields.
   The way it is currently setup is to put everything into a div. That causes the
   field name and the field value to be displayed on two different lines. Simply
   switching from div to span fixes this and make it much more readable. Also, if
   you have a profile picture it looks funky at the top of the list. The code below
   will need to be changed in the Shortcodes/Insert_User_Profile.php file. You will
   want to remove lines 66-68 and replace them with the lines below.
 * if ($Field->Field_Type != “picture”) {$ReturnString .= “<span id=’ewd-feup-user-
   profile-label-” . $Field->Field_ID . “‘ class=’ewd-feup-user-profile-label’>”.
   $Field->Field_Name . “: </span>”;}
 * if ($Field->Field_Type != “picture”) {$ReturnString .= “<span class=’ewd-feup-
   text-input ewd-feup-user-profile-input’>” . $Value . “</span>”;}
 * else {if ($Value ==””){$ReturnString .= “No picture uploaded<br><br>”;}
 * else{$ReturnString .= “Field_Name . “‘/><br><br>”;}}
    -  This topic was modified 8 years, 10 months ago by [G](https://wordpress.org/support/users/glienhard/).

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Contributor [etoilewebdesign](https://wordpress.org/support/users/etoilewebdesign/)
 * (@etoilewebdesign)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/user-profile-modification/#post-9170867)
 * Hi Garry,
 * Thank you for the code. It’s possible that there could be some alignment issues
   with some fields in the user profile template. We’ll review that template code
   and throw in what you suggested to see how it looks on our dev/test installs.
   Then, if necessary, we can release an update with any changes that might be required
   to make it more readable.
 *  Thread Starter [G](https://wordpress.org/support/users/glienhard/)
 * (@glienhard)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/user-profile-modification/#post-9170961)
 * Etoile,
 * Thanks for taking the time to review that. I think that this does go back to 
   the discussion of a matter of user preference. For me, this just looks better.
   My only dilemma now is that I have had to make so many source code changes that
   it will make updating the plugin difficult. If other users venture into this,
   you really need to have a good knowledge on backend/code stuff.
 * Along the same lines with the profile picture, I have found that if a user does
   not have a profile picture specified it will display a broken image icon on the
   webpage. I’m currently working on a solution and will post it when I have something.
 *  Plugin Contributor [etoilewebdesign](https://wordpress.org/support/users/etoilewebdesign/)
 * (@etoilewebdesign)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/user-profile-modification/#post-9177353)
 * Hi Garry,
 * We’ll have a look at this at the same time as we’re looking at the CSS for the
   form fields you mentioned in your other thread and, if we need to make any changes,
   we’ll include them in an upcoming update. We’ll let you know if we have any follow-
   up questions about any of the items you brought up.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘user-profile Modification’ is closed to new replies.

 * ![](https://ps.w.org/front-end-only-users/assets/icon-128x128.png?rev=1805921)
 * [Front End Users](https://wordpress.org/plugins/front-end-only-users/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/front-end-only-users/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/front-end-only-users/)
 * [Active Topics](https://wordpress.org/support/plugin/front-end-only-users/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/front-end-only-users/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/front-end-only-users/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [etoilewebdesign](https://wordpress.org/support/users/etoilewebdesign/)
 * Last activity: [8 years, 10 months ago](https://wordpress.org/support/topic/user-profile-modification/#post-9177353)
 * Status: not resolved