# Search

Community Builder Allows you to embed list of BuddyPress groups using simple shortcode.

[bp-groups-list]

### Usage:-

Display 10 recently active members

[bp-groups-list max=10]

Display 10 recent active members with avatar size 64px

[bp-groups-list max=10 avatar_size=64]

### Options

#### display

(string) (optional) The list display type. If not included it will display the users as list. You can use the following options to use specific display types:

• list :- show as an unordered list
• extended:- use the theme’s groups loop layout.

#### per_page

(int) (optional) How many items to display. Default is 20

#### include

(string) (optional) Comma separated list of group ids to include in the list.

#### exclude

(string) (optional) Comma separated list of numeric group ids to exclude from the list.

#### user_id

(int) (optional) If you want to display groups of a user, specify the user id.

#### group_type

(string) (optional) Comma separated list of one or more group types to restrict the list to.

#### group_type__not_in

(string) (optional) Comma separated list of group types which will not be included in the list.

#### meta_key

(string) (optional) Filter the list by specifying group meta key.

#### meta_value

(mixed) (optional) Filter the list by using meta key and value. Meta key must be specified to use this option.

#### avatar_size

(int) (optional) Size of avatar to display in case of the display list, links. Defaults to 32.

Subscribe