• Resolved nessler

    (@nessler)


    Hi,

    for our website we are trying to create an author page with all active members.
    For this we have added, via pods, two additional fields namely status (active/non-active) and function (photographer, editor, etc).

    My question is actually quite simple: how can we for instance show all “active photographers” in a page with pods shortcode ?

    we followed this tutorial by the way.

    any help much appreciated.

    https://pods.io/tutorials/using-pods-create-user-directory/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Jim True

    (@jimtrue)

    If you used a yes/no field for the ‘status’, you’d do:

    [pods name="user" where="status.meta_value = 1 function.meta_value='photographer'"]
    <li>{@user_nicename}</li>
    [/pods]
    

    You could also reasonably design the template in Pods Templates.

    Plugin Contributor Jim True

    (@jimtrue)

    Meant to include the video for Pods Templates, etc.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Displaying users with custom field’ is closed to new replies.