Best approach to create a user direction, both archive and single template?

When you say “custom meta”, are you adding via ACF fields or meta added via some other plugin or code?

Cwicly does have a User query, that you can use to display a list/grid of users.

Screenshot 2024-02-13 at 20.08.16

It allows you to show the following fields built-in:

Screenshot 2024-02-13 at 20.00.36

You should be able to access data in ACF fields added to any user in the same way as for a Post query.

If you want to access more meta information about a user that is not in an ACF field, you will need to use custom code at the moment, because there is no User Custom Field option yet (like there is for the logged in user or post author - see below).

I have raised a feature request to add this here:

Additional notes:
Effectively for the logged in user, Cwicly has the following information available:

Screenshot 2024-02-13 at 19.39.51

You can also access custom fields for the logged in user via the User Custom Field option:

Screenshot 2024-02-13 at 20.07.42

For a given post, Cwicly provides access to the same information for the Author of the post using the “Author Info” and “Author Custom Field” options.

1 Like