WordPress Registration Form Plugin (CMREG) - Shortcodes - Display User Data From Custom Fields
Display User Data From Custom Fields
Since the version 3.7.7 of the WordPress Registration Form plugin, it is possible to use shortcodes for displaying user data that users fill during the registration, including custom fields.
TIP
Learn more about how to add custom fields to the registration form: WordPress Registration Form Plugin (CMREG) - How To - Improve the Registration Form With Custom Fields
- Shortcode:
[cmreg-user-profile-field]
- Parameters:
- usermeta - Add the metakey of the profile field that you want to display.
- Example:
[cmreg-user-profile-field usermeta="user-first-name"]
Usage Example
You can find the metakey in the field User Meta Key when editing any profile field. The metakey can be either auto-generated or you can define the custom one:
Adding shortcodes to the page:
Result on the front-end:
More information about the WordPress Registration Form Plugin Other WordPress products can be found at CreativeMinds WordPress Store |
|
Let us know how we can Improve this Product Documentation Page To open a Support Ticket visit our support center |