WPBeginner

Beginner's Guide for WordPress

  • Blog
    • Beginners Guide
    • News
    • Opinion
    • Showcase
    • Themes
    • Tutorials
    • WordPress Plugins
  • Start Here
    • How to Start a Blog
    • Create a Website
    • Start an Online Store
    • Best Website Builder
    • Email Marketing
    • WordPress Hosting
    • Business Name Ideas
  • Deals
    • Bluehost Coupon
    • SiteGround Coupon
    • WP Engine Coupon
    • HostGator Coupon
    • Domain.com Coupon
    • Constant Contact
    • View All Deals »
  • Glossary
  • Videos
  • Products
X
☰
Beginner's Guide for WordPress / Start your WordPress Blog in minutes
Choosing the Best
WordPress Hosting
How to Easily
Install WordPress
Recommended
WordPress Plugins
View all Guides

WPBeginner» Blog» Plugins» How to Add Additional User Profile Fields in WordPress Registration

How to Add Additional User Profile Fields in WordPress Registration

Last updated on December 23rd, 2020 by Editorial Staff
218 Shares
Share
Tweet
Share
Pin
Free WordPress Video Tutorials on YouTube by WPBeginner
How to Add Additional User Profile Fields in WordPress Registration

Do you want the ability to add new profile fields when users register on your WordPress site?

Maybe you want to allow users to submit their social media profiles. Or you might want to have them submit their business phone number when registering. This can all be done by adding additional profile fields.

In this article, we will show how to add additional user profile fields in WordPress registration.

How to add Additional user profile fields in WordPress registration

Method 1. Add Custom User Profile Fields using Advanced Custom Fields Plugin

The best way to add extra user profile fields in WordPress is to use the Advanced Custom Fields plugin.

First, you need to install and activate the Advanced Custom Fields plugin. For more details, see our step by step guide on how to install a WordPress plugin.

After you’ve installed and activated it, go to Custom Fields » Add New and give your new field a name.

Add new field name

We’re calling this example ‘Twitter Handle’ since we’re setting up a custom field to add a Twitter username. However, you can name it anything you want.

Next, click the ‘Add Field’ button, and you’ll see it open up to configure your new field. Here’s our example customization.

Fill out your fields

The ‘Field Label’ is the name of your field, which helps you organize your fields.

The ‘Field Name’ is auto-populated based on the name you give your field, but you can change this to be whatever you want.

The ‘Field Type’ is where you can select what type of information you want to be submitted.

Select your field type

You can choose many options such as email, number, text area, url, password, and more.

The ‘Required?’ area can be turned on or off. If you want to require anyone who registers to fill out this field, then you’ll need to toggle the required button to where it says ‘Yes.’

Lastly, the ‘Placeholder Text’ is what you’ll put in the field to show as an example for your users when they register. We used ‘@sample_username.’

The next step is to set the location for this profile field.

You’ll need to scroll down to the ‘Location’ area and make sure you select ‘User Role’ in the dropdown menu.

User role settings

To the very right, the ‘All’ option simply means all users who register.

But if you wanted to make this rule only apply to certain user roles such as Administrator, Editor, Author, Contributor, or Subscriber, then you can make that selection there.

Next, scroll down to the settings box. Make sure the ‘Active’ field is set to ‘Yes’ and then click ‘Publish’ in the upper right corner to save this field.

Custom fields settings

In the Style section, make sure you select ‘Seamless (no metabox)’ to prevent the name of this field appearing on your registration page.

Since we’ve already given instructions to submit the Twitter handle, you don’t want it appearing multiple times in the field as it makes it look cluttered.

Lastly, you can see all your fields by going to Custom Fields » Field Groups.

Registered fields

Now it’s time to check out how this is displayed on your registration page. The default url for registration is located at ‘yoursite.com/wp-login.php?action=register.’

Our example looks like this:

Registration page

If you’d like to create a custom user registration form in WordPress, then you can do so by using the WPForms plugin and following our tutorial on how to create a custom user registration form in WordPress.

Method 2. Add Additional User Profile Fields with Profile Extra Fields

This method allows you to easily add extra fields to user profiles and user registration form in WordPress. It is a little less flexible, but it gets the job done.

First, you need to install and activate the Profile Extra Fields plugin. If you’re unsure of how to do this, check out our full guide on how to install a WordPress plugin.

Once the plugin is activated, it’s time to create some additional user profile fields to use on your registration forms.

We’re going to create a phone number field as an example, but you can create as many of these fields as you want.

First, go to your Profile Extra Fields » Add New page. We’re creating a field for users to submit their phone number.

You’ll see that we’ve named the field ‘Phone Number’ and selected ‘Phone number’ in the dropdown menu.

User profile field settings

In the Field Properties, we’re checking all the boxes for the ‘Author’ user level because we want to display this field when someone registers as an Author.

Lastly, check the box to make the field required if you want them to fill out their phone number when registering.

Scroll down until you’ll this:

Show user field in form

Make sure that box is checked so the field shows in your registration form. Don’t forget to click the ‘Save Changes’ button at the bottom before going further.

When you create these fields, you can see them when you go to your Profile Extra Fields » Add New page:

See all custom profile fields

Now, you’ll want to go into your WordPress dashboard to change some settings for new registrations.

Go to Settings » General page in your WordPress admin area and then check the membership box so anyone can register.

You will need to make sure that the default role is set to the role which you have added extra fields for.

Default role set to author

This way, you can control the level of access new users have, and this will force the registration form to show the fields you selected earlier in this tutorial.

Here’s what the default registration form looks like:

WordPress user registration form

Pro Tip: You can always create a custom WordPress user registration form by following our tutorial.

We’re using ‘AuthorJon’ as a test profile to show you how this new user registration will show up in the dashboard.

To see the extra fields in action, go to Users » All Users and then click on ‘edit’ for the profile you want to see.

Edit user profile

We are looking at the user we just created, AuthorJon. When you scroll to the bottom of their profile, you’ll see the following:

Profile extras

As you can see, their phone number was created in their profile when they registered their account. This goes for any other field you want to use as well.

We hope this tutorial helped you learn how to add additional user profile fields in WordPress registration. You might also want to see our guide on how to create a custom WordPress login page, and our comparison of the best WordPress membership plugins to create & sell courses.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

218 Shares
Share
Tweet
Share
Pin
Popular on WPBeginner Right Now!
  • Google Analytics in WordPress

    How to Install Google Analytics in WordPress for Beginners

  • Revealed: Why Building an Email List is so Important Today (6 Reasons)

    Revealed: Why Building an Email List is so Important Today (6 Reasons)

  • How to Fix the Error Establishing a Database Connection in WordPress

    How to Fix the Error Establishing a Database Connection in WordPress

  • How to Properly Move Your Blog from WordPress.com to WordPress.org

About the Editorial Staff

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi. Trusted by over 1.3 million readers worldwide.

The Ultimate WordPress Toolkit

23 Comments

Leave a Reply
  1. Othman Deraz says:
    Nov 30, 2017 at 5:56 am

    I am looking for a free question and answer plugin that can add additional information to the user profile.
    Such as weight, height and preferences.
    Thank you!

    Reply
  2. Jonathan Kotwicki says:
    Nov 26, 2017 at 10:53 pm

    Need some advice here….how can I export the custom user registration fields into an excel sheet or something like that? I.e. if users say “how they heard about us”, how can I go back and view that information for a large number of users without having to individually go into each user profile?

    Thank you very much for any help!
    -Jon

    Reply
  3. Gabrielle says:
    Feb 28, 2017 at 9:23 am

    Hi everyone, i like to build stuff for WP without using external plugins, so i build my own. I sucesfully added social media fields to all users > user profile form.
    But i’ve stuck in adding dropdown menu for country.
    Is there any WooCommerce specialist here?
    There is dropdown functionality inside class-wc-countries.php file, and i’am dying to add the same dropdown menu in registration form and on user profile form.
    Of course this is taken for woocommerce, but how to extract this code to work with WC deactivated ?
    Sorry for my poor English.

    Reply
  4. leev says:
    Apr 15, 2016 at 12:20 am

    great plugin, but how do i get the extra field to display in the author.php

    Reply
  5. RunDEv says:
    Apr 22, 2015 at 10:37 am

    This is a great plugin!

    However, I’ve probably found a bug.

    I’m using WP 4.1.2 with Cimy User Extra Fields, but uploaded files are not showing up in the user’s profile and fields.
    Note: I can only upload files in the backend of WP.

    Who has the solution? Or is there a better and fully working alternative?

    Thank You!

    Reply
    • WPBeginner Support says:
      Apr 22, 2015 at 9:35 pm

      If you think you have found a bug in the plugin, then please reach out to plugin authors using the support tab on the plugin website.

      Reply
  6. Antok Prima says:
    Dec 27, 2014 at 10:05 am

    I have follow all tutorial and prepare data for country, region/province & city. But I don’t how to make it selectable from dropdown list.

    Any sugestion how to solve this?

    Thanks

    Reply
  7. Anon says:
    Nov 24, 2014 at 2:36 pm

    And how can I check (either with php or js) if certain user matched following option in his profile? (I want to display info regarding of matched on/off option)

    Reply
  8. Syaifuddin Hamzah says:
    Oct 25, 2014 at 1:56 am

    I just found this tutorial and it really save me lots of time for my new project. I used Oi Frontend Profile to enable users to update their profile details including the fileds created by Cimy User Extra Fileds (CUEF) on frontend. It works until one of my user complaining that once he click update profile, the fields created by CUEF is gone and not updated. Only default WP fields is updated.

    I looked around and found other developer with the same issue here: https://stackoverflow.com/questions/11874083/wordpress-edit-user-and-cimy-user-extra-fields. He found a way to fix the bug by adding “cimy_uef_” to the front of fields name. I just dont understand what he meant by adding “cimy_uef_” to the front of fileds name. Where/how should I add “cimy_uef_” to fix this? Please help. Thanks.

    Reply
  9. Lalit Nagrath says:
    Sep 6, 2014 at 1:11 am

    i have just added a new custom field but how do i make it as required?

    Reply
    • Syaifuddin Hamzah says:
      Oct 25, 2014 at 2:11 am

      I guess uncheck the “Can be empty” checkbox will make it required.

      Reply
  10. SaWKaT says:
    Aug 30, 2014 at 2:12 am

    Yes this plugin is so good and easy to use. But I do not understand how to show an extra-field in a page. Have any short code? Can anyone help me?

    Reply
    • wuha says:
      Jan 22, 2015 at 4:45 am

      get_cimyFieldValue($curauth->ID, ‘value’

      Reply
  11. David says:
    Jun 12, 2013 at 4:30 pm

    This plugin is the worst user friendly plugin ever

    Reply
    • Editorial Staff says:
      Jun 13, 2013 at 10:11 am

      Would love to see your review in the WordPress.org repository. Please highlight specific issues and perhaps give pointers, so the plugin author can improve the issues. Simply saying it is worst user friendly plugin ever doesn’t really help anyone :)

      Reply
      • Mike says:
        Jun 13, 2013 at 10:38 am

        From what I’ve seen the plugin author doesn’t respond well to criticism or help requests…

        The documentation needs a lot of work, but the plugin itself is largely quite functional. In the end I had to come up with a slightly hacky javascript solution to apply a placeholder attribute to fields generated by the plugin, but it did what I needed.

        Reply
      • David says:
        Jun 13, 2013 at 11:57 am

        Lol, i didnt have time, anyways here is a better plugin than cimy and does the same thing.

        http://wordpress.org/plugins/register-plus-redux/

        Do a review on it. :)

        Reply
  12. Zeeshan says:
    May 27, 2013 at 4:48 pm

    Thanks for it, wonderful article.

    Reply
  13. Mike says:
    Apr 26, 2013 at 1:23 pm

    Great article, very helpful! Do you know if it’s possible to add the HTML5 placeholder attribute to text fields generated by this plugin?

    Reply
    • Editorial Staff says:
      Apr 29, 2013 at 9:27 am

      No entirely sure. Please contact the plugin developer for that.

      Reply
  14. Adrian says:
    Apr 25, 2013 at 5:29 am

    Great article, thank you!

    If besides extra user fields, you’re looking also for front-end login, registration and edit profile functionality, then Profile Builder may be an alternative worth looking into: http://wordpress.org/extend/plugins/profile-builder/

    Reply
  15. Evelyn says:
    Apr 7, 2013 at 9:20 am

    Thanks for another great post! This is the most valuable page I follow!

    Reply
  16. Karen F says:
    Apr 5, 2013 at 9:31 am

    Thanks for the great plugin info. I hope you won”t be recommending Code Canyon / Envato – premium plugins. I’ve just had the nasty experience of purchasing one of their products. Before getting to download it the developer took it down & Envato told me that I had to deal with the developer who never answered my email. Envato does not stand by it’s customers despite collecting 50% of purchase fees! Wow. That was money down the drain.

    Reply

Leave a Reply Cancel reply

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.

Over 1,320,000+ Readers

Get fresh content from WPBeginner

Featured WordPress Plugin
OptinMonster
OptinMonster
Convert website visitors into email subscribers. Learn More »
How to Start a Blog How to Start a Blog
I need help with ...
Starting a
Blog
WordPress
Performance
WordPress
Security
WordPress
SEO
WordPress
Errors
Building an
Online Store
Useful WordPress Guides
    • 7 Best WordPress Backup Plugins Compared (Pros and Cons)
    • How to Fix the Error Establishing a Database Connection in WordPress
    • Why You Need a CDN for your WordPress Blog? [Infographic]
    • 30 Legit Ways to Make Money Online Blogging with WordPress
    • Self Hosted WordPress.org vs. Free WordPress.com [Infograph]
    • Free Recording: WordPress Workshop for Beginners
    • 24 Must Have WordPress Plugins for Business Websites
    • How to Properly Move Your Blog from WordPress.com to WordPress.org
    • 5 Best Contact Form Plugins for WordPress Compared
    • Which is the Best WordPress Popup Plugin? (Comparison)
    • Best WooCommerce Hosting in 2020 (Comparison)
    • How to Fix the Internal Server Error in WordPress
    • How to Install WordPress - Complete WordPress Installation Tutorial
    • Why You Should Start Building an Email List Right Away
    • How to Properly Move WordPress to a New Domain Without Losing SEO
    • How to Choose the Best WordPress Hosting for Your Website
    • How to Choose the Best Blogging Platform (Comparison)
    • WordPress Tutorials - 200+ Step by Step WordPress Tutorials
    • 5 Best WordPress Ecommerce Plugins Compared
    • 5 Best WordPress Membership Plugins (Compared)
    • 7 Best Email Marketing Services for Small Business (2020)
    • How to Choose the Best Domain Registrar (Compared)
    • The Truth About Shared WordPress Web Hosting
    • When Do You Really Need Managed WordPress Hosting?
    • 5 Best Drag and Drop WordPress Page Builders Compared
    • How to Switch from Blogger to WordPress without Losing Google Rankings
    • How to Properly Switch From Wix to WordPress (Step by Step)
    • How to Properly Move from Weebly to WordPress (Step by Step)
    • Do You Really Need a VPS? Best WordPress VPS Hosting Compared
    • How to Properly Move from Squarespace to WordPress
    • How to Register a Domain Name (+ tip to get it for FREE)
    • HostGator Review - An Honest Look at Speed & Uptime (2020)
    • SiteGround Reviews from 4196 Users & Our Experts (2020)
    • Bluehost Review from Real Users + Performance Stats (2020)
    • How Much Does It Really Cost to Build a WordPress Website?
    • How to Create an Email Newsletter the RIGHT WAY (Step by Step)
    • Free Business Name Generator (A.I Powered)
    • How to Create a Free Business Email Address in 5 Minutes (Step by Step)
    • How to Install Google Analytics in WordPress for Beginners
    • How to Move WordPress to a New Host or Server With No Downtime
    • Why is WordPress Free? What are the Costs? What is the Catch?
    • How to Make a Website in 2020 – Step by Step Guide
Deals & Coupons (view all)
IPVanish Coupon
Get 20% OFF on IPVanish, one of the best VPN service providers for bloggers and WordPress users.
Theme Trust
ThemeTrust Coupon
Get 20% off on all ThemeTrust themes brought to you by Henry Jones.
Featured In
About WPBeginner®

WPBeginner is a free WordPress resource site for Beginners. WPBeginner was founded in July 2009 by Syed Balkhi. The main goal of this site is to provide quality tips, tricks, hacks, and other WordPress resources that allows WordPress beginners to improve their site(s).
Join our team: We are Hiring!

Site Links
  • About Us
  • Contact Us
  • FTC Disclosure
  • Privacy Policy
  • Terms of Service
  • Free Blog Setup
  • Free Business Tools
Our Sites
  • OptinMonster
  • MonsterInsights
  • WPForms
  • SeedProd
  • Nameboy
  • RafflePress
  • Smash Balloon

Copyright © 2009 - 2021 WPBeginner LLC. All Rights Reserved. WPBeginner® is a registered trademark.

Managed by Awesome Motive | WordPress hosting by SiteGround | WordPress CDN by MaxCDN | WordPress Security by Sucuri.