Custom user registration by user meta
To create custom user registration form with user meta, there are three steps:
Steps 1. Fields Editor:
Go to User Meta >> Fields Editor and choose the necessary fields. Configure field’s properties as needed.
Step 2. Forms Editor:
Go to User Meta >> Forms Editor and drag & drop necessary fields to your form. (From name is mandatory.*)
Step:03. Write Shortcode to page or post:
Write user-meta shortcode to page or post. To create page go to page >> add new.
- type=”registration” for showing registration page.
- type=”both” for showing profile page if user loged in, or showing registration page, if not user loged in.
User Registration Widget:
User registration form can be shown as widget. Go to Appearance >> Widgets for available widgets. There will be new widget named User Meta Registration/Profile Form. This widget can be use for showing user registration form as widget. In widget configuration set your action type and form name.
User Registration Template Tag:
Custom user profile can be use as template tag anywhere in your site.
<?php
$actionType = “registration”;
$formName = “my_form2”;
echo userMetaProfileRegister( $actionType, $formName );
?>