Creating Dynamic User Lists and Single User Templates 

You can also use Collections to create dynamic user lists (e.g., authors) and custom single user template pages for individual users, without needing to manually update each page.

This guide will walk you through the steps to create a dynamic list of WordPress users and a single template page for individual users using Collections.

Create a Dynamic User List

Create a Dynamic User List

Step 1: Add a New Page for the User List

  1. Go to Pages and click Add New to create a new page where your user list will appear.
  2. Title the page something like “Authors” or “Team Members” depending on your use case.

Step 2: Insert the Collection List Element

  1. In the Droip editor, search for the Collection element.
  2. In the Collection List settings, set the Collection Type to Users

Step 3: Customize the List

  1. The list will dynamically pull all users from the collection.
  2. You can filter the list based on role and display fields such as the user’s name, profile picture, etc.

Step 4: Save and Publish

Once you’re satisfied with the layout, save the page and click Publish. Now you have a dynamic user list page. 

Create a Dynamic Single User Template

To display individual user information dynamically, you need to create a Single User Template that pulls data from your user collection.

Step 1: Create a New Template for Single Users

Create a New Template for Single Users
  1. Navigate to the Templates section under Pages.
  2. Click the + icon beside Templates, select the template type as User, and click on Add Template to create a new user single page template.

Step 2: Display Individual User Posts Dynamically

Display Individual User Posts Dynamically
  1. Use Droip’s visual editor to design your template.
  2. In the Droip editor, search for the Collection element.
  3. Set Collection Type to Posts and Relation to Inherit.

This will dynamically pull all the posts under that user.  

Was this article helpful?

Our website uses cookies to improve your browsing experience on our website. By continuing to use this website, you agree to their use. For details, please check our Privacy Policy.