For the complete documentation index, see llms.txt. This page is also available as Markdown.

Displaying User field

Advanced Views natively supports the following User types:

  1. ACF: any User field

  2. MetaBox: any User field

  3. Pods: any Relationship field (for users)

1. How to display a User field

  1. Add any User field

  2. Save the Layout, copy its embedding shortcode

  3. Embed Layout: paste the shortcode inside the target place

Advanced Views automatically creates HTML link markup for the chosen user(s). You can create a dedicated field Layout to display fields of the chosen post instead:

2. Displaying User details

Sometimes, instead of displaying the user as a link, you may need to display some fields of the selected user with your current Layout. For example, besides the user’s name, you might also want to display their bio, website, and avatar, with the avatar being an Image field attached to the user.

Users displayed with their details.

To display user details, follow these steps:

  1. Create a ‘User Details’ Layout: This Layout will be responsible for displaying user details. In the Fields tab, assign the user fields you want to display, such as the Name and Bio, then publish the Layout.

  2. Create a page Layout: Create a page Layout. In the Fields tab, add the target User field, and assign 'User Details' as a Field Layout, then publish the page Layout

  3. Embed page Layout: copy and paste the page Layout shortcode inside the target place

That's it! Now you can customize the Layout template to use the User render options.

Last updated