Support » Plugin: BP Profile Search » [Bps_directory] with specific role

  • Resolved benodwyer



    Can anyone tell me how I can display a new members directory of only members of a specific role. i.e. administrator.

    Also is there a list somewhere of what arguments can be passed to the bps_directory shortcode?

    Thanks a lot


Viewing 1 replies (of 1 total)
  • Plugin Author Andrea Tarantini


    Hi Ben,

    You can use the ‘hidden filters’ feature, e.g.:

    [bps_directory roles_match_any='Administrator,Editor,Contributor']

    Of course the single-role version is also accepted:

    [bps_directory roles_match_any='Administrator']

    You can find the [bps_directory] documentation here:

    The shortcode arguments are covered specifically in sections C), D) and F).

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.