DOCS

User Info

FREE block. Displays the logged-in user’s avatar, display name, email address, and bio.

User info example

Why use this

Account pages and dashboards benefit from a user greeting or profile summary. This block provides a quick read-only profile display without any edit functionality.

What it does

The block reads the current user’s WordPress profile data: avatar (via get_avatar), display_name, user_email, and description (bio). If no user is logged in, the block shows a “Please log in” message.

The block does not support demo mode or guest handling.

How to use it

  1. Add the User Info block to an account or profile page.
  2. Toggle avatar, email, and bio display on or off in the inspector.
  3. Set the avatar size.

Settings and options

OptionTypeDefaultDescription
Show avatarbooleantrueDisplay the user’s avatar
Avatar sizenumber96Avatar width and height in pixels
Show emailbooleantrueDisplay the user’s email address
Show biobooleantrueDisplay the user’s bio/description

What you can and cannot do

  • This block is read-only. For an editable profile, use the Profile Settings block.
  • The block does not support Query Loop context.
  • Logged-out visitors see a “Please log in” message; this message text is not currently configurable via block attributes.