Skip to main content

User Item

Divi 5 only

This reference is for Divi 5. The same module exists in the Classic Builder. See User Item on Divi 4.

Purpose and when to use​

User Item (divi-membership/user-item) shows one piece of user data. Its Divi 5 module picker label is User Item. Put it inside a custom loop layout used by User List, or on a normal page to show the logged-in member (for example a greeting).

Add it from the Divi Membership folder in the Visual Builder.

User Item

Inside a User List layout, set User Type to Current User (loop or single). On a normal page, Logged In User reads the person who is signed in, and Author of the Post reads the post author.

Before you configure this module​

  • For a directory, the parent is a User List Custom Loop Layout.
  • For a membership badge, the plan has a badge name on its Options tab. See Adding a membership plan.

Quick setup​

  1. Add User Item.
  2. Set User Type.
  3. Set Item Type. User Meta is the default and shows Display Name.
  4. Add Prefix Text or Suffix Text if you need a label such as “Hello,”.
  5. Choose what happens when the value is empty. The default is Hide Module.

Content tab​

GroupWhat it configures
Main OptionsWhich user, which field, HTML tag, prefix, suffix, visibility, empty value
Layout OptionsInline layout and word limit
Image & IconIcon or image beside the value
Background / Link / Admin LabelStandard Divi groups

Item types​

Item TypeExtra settings
User MetaUser Default Data: Display Name, Email, Website, User Registered Date, User Role, Avatar, Biographical Info. Avatar adds Avatar Size (default 32)
Profile LinkProfile Link Endpoint (Members Page or Authors Page) and Profile Link Text (default View Profile)
ACF FieldACF Field Name
Membership PlanMembership Title or Membership Badge
Custom MetaCustom Field Name (user meta key)

HTML Tag defaults to p. Visibility defaults to All. Logged in users only hides the value from guests.

What to do when empty value? can hide the module, the parent row, the parent section, another element (CSS selector), or show Custom Text.

Layout​

Make inline? defaults to off. Enable Max Word Count defaults to off. When it is on, you can set the word count, an ending (text or read more), and the ending text.

Design tab​

GroupWhat it configures
TypographyItem and Value. Prefix and Suffix when those fields have text. Read More Text. Profile Link Text when the item is a profile link
ButtonProfile link button styles when the item is a profile link
Icon SettingsShown when Use Icon is on
User Item PaddingPadding around the value
Sizing, spacing, border, box shadow, filters, animation, transformModule chrome

Advanced​

Standard Divi groups: attributes, CSS, conditions, visibility, transition, position, and scroll.

What's next​