Results 1 to 2 of 2

Thread: New field in the form "Edit Profile"

  1. #1
    Thread Starter
    Expired Customer sricke's Avatar
    Join Date
    Oct 2016
    Posts
    16
    Thanks
    1
    Thanked 0 Times in 0 Posts

    New field in the form "Edit Profile"

    Hallo,

    I'd like to add a new input field in the form "Edit Profile", namely in order to collect a second url.

    For this reason, I copied the code regarding the field "Website" as follows:

    <div class="row">
    <div class="large-12 columns form-field">
    <label><?php _e('Website', APP_TD) ?></label>
    <input type="text" name="url" class="text regular-text required" id="url" value="<?php echo esc_url( $current_user->user_url ); ?>" maxlength="100" />
    </div>
    </div>




    Then I replaced "url" by "url-two" as follows:

    <div class="row">
    <div class="large-12 columns form-field">
    <label><?php _e('Website 2', APP_TD) ?></label>
    <input type="text" name="url-two" class="text regular-text required" id="url-two" value="<?php echo esc_url( $current_user->user_url-two); ?>" maxlength="100" />
    </div>
    </div>


    But no value was displayed in the new field after entering a second url und updating the profile.

    Which other amendments are necessary?

    Thank you in advance.

  2. #2
    jomarkosabel's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    40,978
    Thanks
    170
    Thanked 3,407 Times in 3,278 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Please help our moderating team work more efficiently by not sending us support questions via PM. You can read more about how AppThemes support works here. However, you can send a PM to follow up and remind me if I missed your support request/thread.

    Thank you and have a nice day.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] How do I change "Howdy.." and "Edit my profile" and "Log out" in the admin bar
    By cereaisbrasil in forum Vantage General Discussion (Legacy)
    Replies: 3
    Last Post: July 31st, 2014, 01:07 PM
  2. [MOD NEEDED] How to make appear link "edit profile" in "User Options" in the side bar
    By bmahillet in forum ClassiPress General Discussion
    Replies: 1
    Last Post: July 11th, 2014, 06:26 PM
  3. Samcy Edit Profile - Password field labels have incorrect "for" value
    By almightyeric in forum Report ClassiPress Bugs
    Replies: 2
    Last Post: January 2nd, 2014, 06:34 AM
  4. Can I have a profile field on the "new ad" form?
    By swaynevds4755 in forum Advanced Custom Fields
    Replies: 2
    Last Post: August 14th, 2013, 01:38 PM
  5. Missing "manage adds" "edit profile" on side bar...
    By misrajitas in forum Help Using ClassiPress
    Replies: 7
    Last Post: March 15th, 2012, 02:40 AM