• Resolved keengamer

    (@keengamer)


    Hello, can we adjust this shortcode to show only some roles and not all the users. Limiting (forbidding) to show just selected users is not enough if there are hundreds, thousands of them…?

    Thank you.

    • This topic was modified 2 years, 10 months ago by keengamer.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi,

    Yes, We have the ‘roles’ parameter which allows listing users only containing specific roles. So you can try shortcode like [uwp_users roles=’subscriber, contributor’] which will include users only having subscriber and contributor roles. Let me know if this helps or not.

    Regards,
    Patrik

    Thread Starter keengamer

    (@keengamer)

    Thanks, it works ??

    Hi Patrik,

    I tried the shortcode you suggest above, in my case I only want Contributors to show on that page. But it doesn’t work, I get all the Subscriber people showing up.

    What am I missing?

    Thanks,
    Russ

    Well that was quick… I forgot to include the ‘ mark, it was not very visible to me. Now it works fine.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[uwp_users] with roles restriction?’ is closed to new replies.