User Extra Fields
WordPress User Extra Field plugin enhances your WordPress set up by permitting you to affiliate additional person profile fields for registered customers. Fields may be optionally proven on the register web page, account web page, and extra!
WordPress User Extra Field plugin can be WooCommerce, BuddyPress, and WPML appropriate!
LIVE DEMO (WooCommerce and BuddyPress)
https://www.codecanyondemo.work/wpuef/
person: demo
move: demo
LIVE DEMO (WordPress and Theme My Login)
https://www.codecanyondemo.work/wpuef_wp/
person: demo
move: demo
How to robotically replace the plugin
To obtain computerized updates simply set up and configure the Envato updater plugin: httpss://goo.gl/pkJS33 .The official information that explains tips on how to configure it may be discovered on the following hyperlink: httpss://envato.com/market-plugin .
CUSTOMIZE REGISTER PAGE
WordPress User Extra Field lets the location admin simply add new fields to the person registration web page. This may be
finished utilizing a pleasant visible composer. Fields that may be added are:
- File
- Text
- Textarea
- Number
- Site url
- Date
- Time
- Multiple selection
- Single selection
- Dropdown menu
- Coutry & state (accessible just for WooCommerce. State discipline may be optionally hidden)
All fields may be optionally set as obligatory throughout registration. Furthermore, for the Date and Time
fields, the plugin makes use of good calendar and time jquery elements to assist customers in deciding on the proper values.
FILE UPLOAD
Your customers/clients are in a position to connect recordsdata to their profiles!
This may be finished through the registration course of and even through the WooCommerce checkout course of!
Site admin can even restrict file measurement and file sorts allowed to add. Any file of any measurement may be uploaded! Give it a strive on the demo web site!
Visibility in accordance person function
Would you want to point out additional fields just for some person roles? you possibly can! simply allow the particular choice whereas configuring the sector!
USER PROFILE EDIT PAGE
WPUEF extends the person profile web page including the additional fields created. In this manner,
each person (or web site admin) can edit his information.
DISPLAY FIELDS IN USERS TABLE / WOOCOMMERCE CUSTOMERS MANAGER TABLE
For every fiend can be potential to point out its content material straight within the embedded Users desk and within the WooCommerce Customer Manager clients desk, every discipline in its personal column.
WPML COMPATIBLE
WPUEF is wpml appropriate. Create as many fields as you need, then translate labels and outline
utilizing the WPML -> String translation menu
WOOCOMMERCE COMPATIBLE
WPUEF helps WooCommerce. Automatically provides an additional discipline on the registration (optionally may be hidden).
Your clients, by default, will be capable to edit additional fields on their “My Account” web page however, optionally, the Shop admin can configure
each discipline to be editable solely within the “Shipping Address” or “Billing Address” edit pages!
Furthermore, the Shop admin can even hint this additional information straight on the backend order particulars web page.
In reality, WPUEF provides a brand new meta field containing the additional person fields field subsequent to the client information field. In this manner, you possibly can
have all of the person and order information below management in a single place!
In addition, each additional discipline may be optionally (or ONLY) displayed and edited additionally on the Checkout web page. This may be helpful
throughout person registration on the checkout step. Note nonetheless that Extra fields won’t be proven if the visitor checkout choice is enabled. In this case, fields will likely be robotically displayed provided that the ‘create account’ checkbox is checked by the person.
The admin can even show two customized HTML snippets earlier than and after the checkout additional fields type. Go to Settings -> Extra fields menu to configure these fields.
WOOCOMMERCE COPY EXTRA FIELDS CONTENT AS ORDER CUSTOM FIELDS
Fields content material may be optionally copied to order meta as customized fields. To do this the Shop admin has to allow the seen through the Checkout course of and the Save as order additional discipline choices for the fields he wants. In this manner, after the order is positioned, discipline contents are copied to order meta as customized fields. Extra order discipline values are proven below the Billing particulars and may be edited and deleted utilizing the
native WordPress Custom fields meta field.
In the case of recordsdata, they are going to be deleted on order delete or if the customized discipline containing the file path is deleted.
In this manner, every order will retailer the content material of the additional discipline submitted by the person through the checkout course of independently of the particular values saved within the person profile!
WOOCOMMERCE FIELDS OVERWRITE
WPUEF offers you the likelihood to retailer discipline content material within the default WooCommerce billing and transport fields. All the fields may be overwritten.
To overwrite a discipline you might have simply to create a brand new textual content/nation & state discipline (or e mail discipline in case you wish to overwrite the billing e mail deal with discipline) after which on the overwrite choices choice choose during which discipline the content material
needs to be saved.
You can optionally assign to the Billing title, Shipping title, and person first title (the identical factor may be finished for the final title) the identical worth. Just choose one of many Multiple overwrite choices within the dropdown menu.
WOOCOMMERCE EMAILS SUPPORT
Optionally, all of the person’s additional fields may be reported straight into the WooCommerce emails, on this
manner you possibly can keep watch over all of the person additional information without delay!
WOOCOMMERCE FIELD ROW SIZE
You can optionally set discipline row measurement: half-size (left/proper) or full-width measurement!
NOTE: this selection can’t be utilized to the “Country & State” and “Title” fields. It could have a full-width measurement.
Title discipline
Title fields are separators that can be utilized to separate fields within the register type. The title may be personalized utilizing the next choices:
- tag to make use of: label, h1, h2, h3, h4, h5, h6
- customized margin
- customized lessons
PASSWORD OVERWRITE AND WEAK PASSWORD USAGE
Optionally you possibly can overwrite the password discipline too. This may be helpful if you wish to enable weak password utilization. Enabling this particular choice your clients will be capable to register (and reset their password on the woocommerce reset password web page) utilizing any password, the plugin will override the default woocommerce password weak spot examine.
This particular discipline will likely be seen ONLY on the register web page, checkout register type, and optionally on the My account web page.
BUDDYPRESS COMPATIBLE
WPUEF is BuddyPress appropriate. This implies that fields are robotically added to the person register web page (optionally may be hidden to be displayed on that web page) and
will likely be publicly viable within the person profile. Every person can edit these additional fields utilizing their very own edit profile web page.
FIELDS CAN BE EDITABLE ONLY BY ADMIN
Shop admin can select to create fields to be editable solely by him and visual on the person profile web page
CUSTOM FORM SHORTCODE
WPUEF means that you can render customized types with the chosen additional fields on any web page supporting WordPress shortcode system. To that use the [wpuef_extra_fields_custom_form field_ids=”“] the place the field_ids parameter
specifies the id of the fields that will likely be displayed. Ex.: [wpuef_extra_fields_custom_form field_ids=”c2,c5,c6,c18,c20”]
WORDPRESS FIREST AND LAST NAME FIELDS OVERWRITE
WPUEF offers you the likelihood to retailer textual content discipline content material within the default Name and Lastname WordPress fields. To that, you might have simply to create a textual content discipline after which examine the First/Last title overwrite choice.
Show discipline worth shortcode
Would you wish to show a discipline worth for the present or a specific person? You can simply utilizing the [wpuef_show_field_value field_id=”” user_id=”“] shortcode.
A “field_id” should be specified and optionally can even specify a “user_id” parameter. The “user_id” will allow you to show a discipline worth for a specific person, if left empty will present the sector worth for the present person.
You can even robotically generate html hyperlinks utilizing the sector content material. For instance, utilizing a discipline with id c2:
[wpuef_show_field_value field_id="c2"]Test hyperlink[/wpuef_show_field_value]
You can even use html code like:
[wpuef_show_field_value field_id="c2"]<img src="https://example.com/example.png" alt="instance" /><robust>Test</robust>[/wpuef_show_field_value]
Display picture shortcode
For file fields, you possibly can present the uploaded picture simply utilizing the [wpuef_display_image field_id=”“]. Where the field_id is the file discipline id for which you need to show the picture. Optionally you may be handed as parameters the width and the peak. For instance:
[wpuef_display_image field_id="c2" width="300" height="200"]
RETRIEVE AND SAVE FIELDS DATA PROGRAMMATICALLY
WPUEF exposes two capabilities:
- wpuef_get_field($field_id, $user_id = null). The operate will return an object containing all the sector information (label, values, and many others.). To know the article construction you possibly can person
the particular wpuef_var_dump() operate as comply with:$end result = wpuef_get_field('c13', 16669); var_dump($end result);
The end result will likely be:
object(stdClass)#803 (7) { ["label"]=> string(6) "My customized dropdown discipline" ["field_type"]=> string( 8 ) "dropdown" ["required"]=> bool(false) ["field_options"]=> object(stdClass)#807 (2) { ["options"]=> array(3) { [0]=> object(stdClass)#782 (2) { ["label"]=> string(2) "Label string for choice 1" ["checked"]=> bool(false) } [1]=> object(stdClass)#757 (2) { ["label"]=> string(2) "Label string for choice 2" ["checked"]=> bool(false) } [2]=> object(stdClass)#758 (2) { ["label"]=> string(2) "Label string for choice 3" ["checked"]=> bool(false) } } ["include_blank_option"]=> bool(false) } ["cid"]=> string(2) "c6" ["woocommerce_edit_on_my_account_page"]=> bool(true) ["value"]=> string(1) "1" }
To get the precise person chosen worth, use the “worth” variable. Example:
$end result = wpuef_get_field('c13', 16669); var_dump($result->worth); //Will print the person chosen worth for that discipline.
- wpuef_set_field($field_id, $worth, $user_id = null)
that allows you to learn/save a discipline in your theme or plugin (discipline id worth may be learn within the visible editor after discipline creation).
KEEPS YOUR SERVER CLEAN
On person deletion, each file hooked up is deleted too.
NOTE ON IMPORT/EXPORT USER EXTRA FIELD VALUES VIA CSV
The plugin hasn’t any characteristic to import/export by way of CSV discipline values related to customers.
For that it’s important to use the next plugin: WooCommerce Customers Manager.
VISUAL COMPOSER
Create and edit all of the fields you need
REGISTRATION PAGE
Registration web page instance (utilizing “Theme my login” plugin that permits to make use of the location theme for the registration web page as an alternative of the default one)
Example utilizing the default WordPress web page
MY ACCOUNT EDIT PAGE (FRONTEND)
WOOCOMMERCE REGISTRATION PAGE
WOOCOMMERCE EDIT ACCOUNT PAGE (FRONTEND)
WOOCOMMERCE ORDER DETAIL PAGE (ADMIN)
Extra discipline displayed on the checkout web page
BUDDYPRESS USER PROFILE PAGE
CUSTOM FORM
OPTIONS TO overwrite FIRST AND LAST NAME WORDPRESS FIELDS
EXTRA FIELDS CAN BE COPIED TO ORDER META
WPML TRANSLATION STRING PAGE WITH WPUEF DATA
CHANGE LOG
= 16.7 - 01.09.23 = * Minor enhancements = 16.6 - 11.07.23 = * Added new choice to delete all the additional fields by way of the choices menu = 16.5 - 12.05.23 = * Minor enhancements on Chrome = 16.4 - 09.05.23 = * Fixed a problem with the "show discipline earlier than unique fields" choice = 16.3 - 19.12.22 = * Minor bugfix * Added the choice to avoid wasting the template recordsdata on the kid listing "wpuef" on the theme folder = 16.2 - 31.08.22 = * Minor bugfix = 16.1 - 28.08.22 = * Minor bugfix = 16.0 - 15.03.22 = * Fixed some texts that weren't correctly displayed within the choices menu = 15.9 - 17.01.22 = * Upload course of improved = 15.8 - 23.11.21 = * Minor bugfix = 15.7 - 11.11.21 = * Fixed a problem that prevented fields to be correctly displayed on the checkout in case of visitor checkout was disabled = 15.6 - 27.10.21 = * Minor enhancements = 15.5 - 22.10.21 = * Bugfix = 15.4 - 14.07.21 = * Fixed a javascript subject that in some circumstances may forestall the configurator web page to be correctly rendered = 15.3 - 26.05.21 = * Code redesign = 15.2 - 26.10.20 = * Fixed a problem that prevented the "WooCommerce Customers Manager" person particulars web page to be correctly displayed = 15.1 - 01.10.20 = * Fixed a problem with the checkbox default worth administration = 15.0 - 14.08.20 = * Fixed a problem associated to WordPress 5.5 and jQuery = 14.9 - 15.07.20 = * Improved BuddyPress compatibility = 14.8 - 05.05.20 = * Fixed a minor subject associated to the default worth choice for radio fields = 14.7 - 09.01.20 = * Each type discipline has now its personal id. The format is "wpuef_field_{field_id}". The discipline container (if any) has the next format "wpuef-row-{field_id}" = 14.6 - 02.12.19 = * Removed the [wpuef] prefix when displaying order additional fields = 14.5 - 23.11.19 = * Minor enchancment = 14.4 - 14.10.19 = * Fixed a problem associated to the registration type and Divi Theme = 14.3 - 09.09.19 = * Added choice to cover person additional fields are on WooCommerce admin order edit web page = 14.2 - 05.09.19 = * Updated date and time picker libraries = 14.1 - 18.04.19 = * Minor bugfix = 14.0 - 20.11.18 = * Added a brand new choice to place fields earlier than/after the default fields within the WooCommerce account particulars and billing/transport particulars pages = 13.9 - 08.11.18 = * Fixed a problem that will increase 500 server error = 13.8 - 31.10.18 = * Fixed a problem with file copy to order meta choice = 13.7 - 11.10.18 = * Minor bugfix