1. Home
  2. Docs
  3. Divi Extended Loop
  4. Dynamic Content
  5. Logged-In User

Logged-In User

Logged In User

The Logged In User dynamic content option outputs a piece of information about the visitor currently logged in to the site. Use it to personalize content — greet members by name, show their email or website, or display their avatar.

It is available under the Extended Loop group in the dynamic content picker and works in text, URL, image, and number fields.

Getting Started

  1. Add any module that supports dynamic content (a Text, Heading, Blurb, Button, or Image module, for example).
  2. Open the field's dynamic content options and choose Extended Loop → Logged In User.
  3. Choose the User Info you want to display.

When the page renders, the selected information for the current logged-in user is inserted. If no one is logged in, the field is left empty.

Settings

1. User Info

Choose which piece of user information to display. The default is Display Name.

OptionDescription
Display NameThe user's public-facing name (display_name).
Username / LoginThe account login handle (user_login).
First NameThe user's first name (first_name) — useful for greetings like "Welcome back, Sarah".
Last NameThe user's last name (last_name).
NicknameThe user's chosen nickname (nickname).
User EmailThe account email address (user_email) — useful for mailto: links or account summary cards.
User Website / URLThe profile website link (user_url).
Biographical InfoThe user's description / bio (description).
Avatar / Profile PictureThe user's Gravatar or local avatar URL (get_avatar_url()), great for image modules or background images.

Notes

  • This option is not loop-dependent: it always resolves against the currently logged-in visitor, regardless of the loop or page.
  • Because it can return text, a URL, or an image URL, it appears in text, URL, image, and number dynamic content fields.

How can we help?