Users

Grab, filter, and iterate over Users and their profile data.


This tag has the same functionality as the collection tag, with some differences.

The first big and obvious difference, is that the collection you’re working with is all of your users.

Example

Here we will loop over the users with gmail email addresses.

<ul>
  {{ users email:ends_with="@gmail.com" }}
    <li>{{ username }}</li>
  {{ /users }}
</ul>

Parameters

sort

string username

Sort entries by a field.

group

string

Specify the slug to filter users by a single group.

role

string

Specify the slug to filter users by a single role.

Last modified on September 11, 2016