• Resolved jeroen

    (@jeroendahmeijer)


    Hello Helga

    thanks for this great plugin, works like a charme πŸ™‚

    i have a question , how can i select more “roles” in this shortcut ?

    [userlist role=”author” number=”5″]

    something like :

    [userlist role=”author”,”admin” number=”5″]

    but this doesn’t work

    hope you can give me a clue

    thank you

    http://ww.wp.xz.cn/extend/plugins/simple-user-listing/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author HelgaTheViking

    (@helgatheviking)

    Sorry, but since that isn’t supported by WP_User_Query it isn’t supported by my plugin. Would be a nice feature though I agree.

    Thread Starter jeroen

    (@jeroendahmeijer)

    I have solved the problem with another plugin called User Role Editor

    now i register 2 different roles to 1 user and it works like a charme

    Plugin Author HelgaTheViking

    (@helgatheviking)

    Nice. Thanks for the sharing the work-around.

    it should be possible to list users from multiple roles with WP_User_Query & get_users as explained here –

    http://wordpress.stackexchange.com/questions/39315/get-multiple-roles-with-get-users

    sam

    Plugin Author HelgaTheViking

    (@helgatheviking)

    Everything is possible given enough time, but I can’t afford to spend much time adding new features at the moment. I didn’t really like the multiple query solution (and would be afraid of trying to deal with pagination on such a query) that was the accepted answer, and you’ll note that I commented that I didn’t have any success with the complex meta query solution.

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

The topic ‘Multiple roles selection’ is closed to new replies.