Quantcast
Channel: Profile Builder Archives - Cozmoslabs
Viewing all articles
Browse latest Browse all 114

WYSIWYG User Field, now available in Profile Builder

$
0
0

The list of custom field types you can add to the user profile with Profile Builder has now expanded to include the WYSIWYG User Field.

Your users will now be able to add, edit and format their profile information making use of all the functionality of a Rich Text Editor. The same editor you’ve been used to when editing Posts and Pages in WordPress.

The WYSIWYG User Field is powered by WordPress default TinyMCE editor.

wysiwyg-field

The WYSIWYG field type allows you to add a Rich Text Editor field to the user profile (both front-end and back-end).


Creating a new WYSIWYG User Field

To add a WYSIWYG custom field to the user profile, simply go to Manage Fields tab in Profile Builder. Then, in the Fields drop-down, select the WYSIWYG field type.

wysiwyg-manage-fields-dropdown

Adding a WYSIWYG to the user profile fields.

After inserting a Field Title, decide if this field is required or not, and click “Add Field” to add this field to the user profile.

The WYSIWYG user field will now appear on both front-end Register and Edit-profile forms.

Front-end Edit Profile form containing a WYSIWYG user field.

Please note: The “Add Media” button will appear only to logged in users, with the default role of Author or above.
For custom user roles the “Add Media” button will display only if those roles have the following capabilities (Upload files, Edit published pages, Edit other pages). This is the way the core WordPress TinyMCE works.

Displaying the WYSIWYG User Field

You can easily display the WYSIWYG content (as well as the rest of the user fields) in the front-end using the User Listing module.

You’ll have access to a specific tag in the available variables list which can be used in the Single Userlisting template.

wysiwyg-single-userlisting

This will output all the HTML generated by the WYSIWYG field.

Single Userlisting page displaying the user profile information.

Single Userlisting page displaying the user profile information.

Note: The WYSIWYG field type is available in Profile Builder Hobbyist and Pro, starting from version 2.1.0.

The post WYSIWYG User Field, now available in Profile Builder appeared first on Cozmoslabs.


Viewing all articles
Browse latest Browse all 114

Trending Articles