Skip to main content

User Item module

Divi 4

This reference is for the Classic Builder. For Divi 5 settings, see User Item.

Purpose and when to use​

The User Item module displays a single piece of user data (e.g. name, email, avatar, profile link, membership plan, or custom/ACF field). Use it inside a User List custom loop layout to build member directories, or on a single page to show the current user’s info (e.g. “Hello, [name]”).

  • User type: Current User (in loop), Logged In User (viewing visitor), or Author of the Post.
  • Item type: User Meta (name, email, etc.), Profile Link, ACF field, Membership Plan, or Custom Meta.
  • Profile link: Optional button style; control visibility when logged out (hide, no change, or change text/link).
  • Bio / long text: Use Enable Max Word Count and Max Word Count Ending (e.g. ellipsis) to limit length.

Compatibility and performance notes​

  • Divi: Current Divi 4 version with the latest Divi Membership release.
  • User List: Typically used inside a User List custom loop layout; can also be used on static pages for the logged-in user or post author.

Add to page​

  1. In the Divi Builder, add a new module and choose User Item (under Divi Membership).
  2. Set User Type: Current User (loop context), Logged In User, or Author of the Post.
  3. Set Item Type: User Meta, Profile Link, ACF Field, Membership Plan, or Custom Meta; configure the specific field or plan if required.
  4. Optionally set Prefix Text and Suffix Text.
  5. Set Visibility (all visitors vs logged-in only) and What to do when empty value? (hide or show default).
  6. Under Layout Options, set Make Inline, Enable Max Word Count (and ending); for Profile Link, set Profile Link as Button and Profile Link Logged Out Visibility (No Changes / Hide / Change Text with custom text and link).
  7. Save and preview in loop and single-user contexts.

Settings​

SettingTypeDefaultDepends OnNotes
User TypeselectCurrent User / Logged In User / Author of Post—Whose data to show.
Item TypeselectUser Meta / Profile Link / ACF / Membership Plan / Custom Meta—What to display.
HTML Tagselect——Wrapper tag for the value.
Prefix Texttext——Text before the value.
Suffix Texttext——Text after the value.
Visibilityselect——All visitors or logged-in only.
What to do when empty value?select——Hide or show default when value is empty.
Make InlinebooleanNo—Display inline with other elements.
Enable Max Word CountbooleanNo—Truncate long text (e.g. bio).
Max Word Countnumber—Enable Max Word CountMaximum words.
Max Word Count Endingtext—Enable Max Word CountTruncation indicator (e.g. …).
Profile Link as Buttonboolean—Item Type: Profile LinkShow as button.
Profile Link Logged Out VisibilityselectNo Changes / Hide / Change TextItem Type: Profile LinkBehaviour when user not logged in.
Profile Link Logged Out Text / Linktext / URL—Change TextCustom text and URL when logged out.
note

When Item Type is Profile Link, additional options appear under Layout Options (button style, logged-out visibility).

Examples and common patterns​

  • Member card in User List: User Type = Current User, Item Type = User Meta (name), then another User Item for avatar, another for Profile Link as button.
  • Greeting: User Type = Logged In User, Item Type = User Meta (display name), Prefix = "Hello, ".
  • Bio snippet: Item Type = User Meta or custom bio field; Enable Max Word Count with ending "…".

Pitfalls and limits​

  • Privacy: Avoid displaying sensitive data (e.g. email) publicly unless intended; use visibility and empty-value behaviour.
  • Profile link: If the theme or account uses a custom profile URL, ensure the profile link points to the correct page.
  • User List — Loop that contains User Item modules in a custom layout.
  • Account page — Member account and profile.

What's Next​