Wordpress User Extra Fields


First download the plugin file zip file, then there are two ways for installing:
 
1) The best way to install is via the Plugins > Add New Plugins section in the Wordpress Backend.
 
2) You can also manually bu unzipping plugin file in /wp-content/plugins directory
 
Once the plugin is installed please activate.
After activating, the plugin adds a new "Extra fields" voice inside the Users menu

Configuration

WPUEF is quite simple to use. Using the visual editor as shown in the following image:

 

the shop admin can create o more complex registration form for it's users. He can choose between many input types like, date, time, number, textareas, etc.
Once created, the admin can edit every field. Just click on one of the one created and then edit its info using the left side of the editor:

 

Frontend

In fronted register page will be something like this:
(NOTE: I strongly suggest to use Theme my login plugin. This plugin will automatically theme you register and user edit profile pages using your theme instead of the defaul wordpress page)

 

this the user edit page (my account page):

 

WPUEF is also compatible with WooCommerce extension. It will add extra fileds to the register page:

 

 

and the edit profile page (my account page):

 

Backend

The plugin will also add automatically customer extra field to the order details page:

 

WPUEF is fully compatible with WPML. Once created new field, you can translate labels and description field going to WPML -> String translation and select "wp-user-extra-fields" as domain:

 

If you want to read a field or save programatically, you can use the two specia function:

 

If you want to display a field value for the current or a particular user, you can use the [wpuef_show_field_value field_id=""] shortcode.
a "field_id" must specified and optionally can also specified a "user_id" paramenter. The latter one will let you to display a field value for a particular user.

To display custom forms cointaining just the selected fields, you can use the [wpuef_extra_fields_custom_form field_ids=""] where the field_ids parameter specifies the id of the fields that will be displayed. Ex.: [wpuef_extra_fields_custom_form field_ids="c2,c5,c6,c18,c20"]