Title: User groups shortcode
Last modified: October 4, 2020

---

# User groups shortcode

 *  Resolved [dabbas](https://wordpress.org/support/users/dabbas/)
 * (@dabbas)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/user-groups-shortcode/)
 * Hello, this really very useful plugin thanks it’s creators,
    Does it works with
   this plugin [https://wordpress.org/plugins/user-groups/](https://wordpress.org/plugins/user-groups/)
   I need to Display authors by groups I tried Taxonomy, Terms, Categories SHORTCODE
   but it’s still displaying all authors instead of filtering by those terms.

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

 *  Plugin Author [WPKube](https://wordpress.org/support/users/wpkube/)
 * (@wpkube)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/user-groups-shortcode/#post-13492502)
 * Hi [@dabbas](https://wordpress.org/support/users/dabbas/)
 * Since it’s not a native WordPress functionality we’ll need to check out how it
   works in order to see if we can make it compatible.
 * But that plugin hasn’t been updated in 4 years, I suggest finding a replacement
   plugin that’s still supported by the developers and let us know which plugin 
   you decide to go with and we can make it compatible with that plugin.
 *  Thread Starter [dabbas](https://wordpress.org/support/users/dabbas/)
 * (@dabbas)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/user-groups-shortcode/#post-13494832)
 * Hi, I searched there is no Different plugin can give the same functionality,
   
   Whoever, I create a custom user role instead of groups for users “it helps my
   purpose” also I’ve created a custom user taxonomy but I couldn’t list the attributed
   users. can you help me to Display users by custom user role or by custom user
   taxonomy?
 *  Plugin Author [WPKube](https://wordpress.org/support/users/wpkube/)
 * (@wpkube)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/user-groups-shortcode/#post-13499235)
 * Hi [@dabbas](https://wordpress.org/support/users/dabbas/)
 * You can use the `roles` parameter. Example:
 * `[authors_list roles="editor"]`
 * You can use multiple roles as well:
 * `[authors_list roles="editor,administrator"]`
 *  Thread Starter [dabbas](https://wordpress.org/support/users/dabbas/)
 * (@dabbas)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/user-groups-shortcode/#post-13499499)
 * Thanks for your help, Sure I tried this one but as I mentioned above it’s not
   working for custom user role I created the custom role basically by adding this
   code to theme function.php
 *     ```
       function wps_add_role() {
           add_role( 'manager', 'Manager', 
                    array(
                         'read',
                         'edit_posts',
                         'delete_posts',
                         )
           );
       }
       add_action( 'init', 'wps_add_role' );
       ```
   
 *  Thread Starter [dabbas](https://wordpress.org/support/users/dabbas/)
 * (@dabbas)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/user-groups-shortcode/#post-13499510)
 * then when I but this `[authors_list roles="manager"]` the plugin Display nothing
   even when I chose `skip_empty=no`
 *  Thread Starter [dabbas](https://wordpress.org/support/users/dabbas/)
 * (@dabbas)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/user-groups-shortcode/#post-13503908)
 * It’s working, it’s displing the users by custom taxonomy
 * I had another issue that was preventing from disabling the users
 *  Plugin Author [WPKube](https://wordpress.org/support/users/wpkube/)
 * (@wpkube)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/user-groups-shortcode/#post-13504091)
 * Hi [@dabbas](https://wordpress.org/support/users/dabbas/)
 * Happy to hear it’s working.

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

The topic ‘User groups shortcode’ is closed to new replies.

 * ![](https://ps.w.org/authors-list/assets/icon-256x256.png?rev=2062262)
 * [Authors List](https://wordpress.org/plugins/authors-list/)
 * [Support Threads](https://wordpress.org/support/plugin/authors-list/)
 * [Active Topics](https://wordpress.org/support/plugin/authors-list/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/authors-list/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/authors-list/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [WPKube](https://wordpress.org/support/users/wpkube/)
 * Last activity: [5 years, 7 months ago](https://wordpress.org/support/topic/user-groups-shortcode/#post-13504091)
 * Status: resolved