{"id":256,"date":"2016-11-06T07:01:05","date_gmt":"2016-11-06T07:01:05","guid":{"rendered":"https:\/\/buddydev.com\/docs\/?p=256"},"modified":"2016-11-06T07:01:05","modified_gmt":"2016-11-06T07:01:05","slug":"buddypress-groups-list-shortcode","status":"publish","type":"post","link":"https:\/\/buddydev.com\/docs\/buddypress-shortcodes\/buddypress-groups-list-shortcode\/","title":{"rendered":"BuddyPress Groups List Shortcode"},"content":{"rendered":"<p>Community Builder Allows you to embed list of BuddyPress groups\u00a0using simple shortcode.<\/p>\n<p><strong>[bp-groups-list]<\/strong><\/p>\n<h3>Usage:-<\/h3>\n<p>Display 10 recently active members<\/p>\n<p>[bp-groups-list max=10]<\/p>\n<p>Display 10 recent active members with avatar size 64px<\/p>\n<p>[bp-groups-list max=10\u00a0avatar_size=64]<\/p>\n<h3>Options<\/h3>\n<h4>display<\/h4>\n<p>(string) (optional) The list display type. If not included it will display the users\u00a0as list. You can use the following options to use specific display types:<\/p>\n<ul>\n<li>list :- show as an unordered list<\/li>\n<li>links :- show as list of links.<\/li>\n<li>extended:- use the theme&#8217;s groups\u00a0loop layout.<\/li>\n<\/ul>\n<h4>per_page<\/h4>\n<p>(int) (optional) How many items to display. Default is 20<\/p>\n<h4>include<\/h4>\n<p>(string) (optional) Comma separated list of group\u00a0ids to include in the list.<\/p>\n<h4>exclude<\/h4>\n<p>(string) (optional) Comma separated list of numeric group\u00a0ids to exclude from the list.<\/p>\n<h4>user_id<\/h4>\n<p>(int) (optional) If you want to display groups\u00a0of a user, specify the user id.<\/p>\n<h4>group_type<\/h4>\n<p>(string) (optional) Comma separated list of one or more group\u00a0types to restrict the list to.<\/p>\n<h4>group_type__not_in<\/h4>\n<p>(string) (optional) Comma separated list of group\u00a0types which will not be included in the list.<\/p>\n<h4>meta_key<\/h4>\n<p>(string) (optional) Filter the list by specifying group\u00a0meta key.<\/p>\n<h4>meta_value<\/h4>\n<p>(mixed) (optional) Filter the list by using meta key and value. Meta key must be specified to use this option.<\/p>\n<h4>avatar_size<\/h4>\n<p>(int) (optional) Size of avatar to display in case of the display list, links. Defaults to 32.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Community Builder Allows you to embed list of BuddyPress groups\u00a0using 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\u00a0avatar_size=64] Options display (string) (optional) The list display type. If not included it will display the users\u00a0as list. You can use the following options &#8230;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9298],"tags":[],"class_list":["clearfix","post-256","post","type-post","status-publish","format-standard","hentry","category-buddypress-shortcodes"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>BuddyPress Groups List Shortcode &#8226; BuddyDev Help Center<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/buddydev.com\/docs\/buddypress-shortcodes\/buddypress-groups-list-shortcode\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"BuddyPress Groups List Shortcode &#8226; BuddyDev Help Center\" \/>\n<meta property=\"og:description\" content=\"Community Builder Allows you to embed list of BuddyPress groups\u00a0using 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\u00a0avatar_size=64] Options display (string) (optional) The list display type. If not included it will display the users\u00a0as list. You can use the following options ...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/buddydev.com\/docs\/buddypress-shortcodes\/buddypress-groups-list-shortcode\/\" \/>\n<meta property=\"og:site_name\" content=\"BuddyDev Help Center\" \/>\n<meta property=\"article:published_time\" content=\"2016-11-06T07:01:05+00:00\" \/>\n<meta name=\"author\" content=\"Brajesh Singh\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Brajesh Singh\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/buddydev.com\/docs\/buddypress-shortcodes\/buddypress-groups-list-shortcode\/\",\"url\":\"https:\/\/buddydev.com\/docs\/buddypress-shortcodes\/buddypress-groups-list-shortcode\/\",\"name\":\"BuddyPress Groups List Shortcode &#8226; BuddyDev Help Center\",\"isPartOf\":{\"@id\":\"https:\/\/buddydev.com\/docs\/#website\"},\"datePublished\":\"2016-11-06T07:01:05+00:00\",\"author\":{\"@id\":\"https:\/\/buddydev.com\/docs\/#\/schema\/person\/4ebf5f3e519f8cbddc6583e182dbe4fb\"},\"breadcrumb\":{\"@id\":\"https:\/\/buddydev.com\/docs\/buddypress-shortcodes\/buddypress-groups-list-shortcode\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/buddydev.com\/docs\/buddypress-shortcodes\/buddypress-groups-list-shortcode\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/buddydev.com\/docs\/buddypress-shortcodes\/buddypress-groups-list-shortcode\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/buddydev.com\/docs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"BuddyPress Groups List Shortcode\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/buddydev.com\/docs\/#website\",\"url\":\"https:\/\/buddydev.com\/docs\/\",\"name\":\"BuddyDev Help Center\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/buddydev.com\/docs\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/buddydev.com\/docs\/#\/schema\/person\/4ebf5f3e519f8cbddc6583e182dbe4fb\",\"name\":\"Brajesh Singh\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/buddydev.com\/docs\/#\/schema\/person\/image\/\",\"url\":\"\/\/www.gravatar.com\/avatar\/2106622ee90d53d15ac1402806616aca?s=96&#038;r=g&#038;d=identicon\",\"contentUrl\":\"\/\/www.gravatar.com\/avatar\/2106622ee90d53d15ac1402806616aca?s=96&#038;r=g&#038;d=identicon\",\"caption\":\"Brajesh Singh\"},\"sameAs\":[\"http:\/\/buddydev.com\/members\/sbrajesh\/\",\"https:\/\/x.com\/sbrajesh\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"BuddyPress Groups List Shortcode &#8226; BuddyDev Help Center","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/buddydev.com\/docs\/buddypress-shortcodes\/buddypress-groups-list-shortcode\/","og_locale":"en_US","og_type":"article","og_title":"BuddyPress Groups List Shortcode &#8226; BuddyDev Help Center","og_description":"Community Builder Allows you to embed list of BuddyPress groups\u00a0using 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\u00a0avatar_size=64] Options display (string) (optional) The list display type. If not included it will display the users\u00a0as list. You can use the following options ...","og_url":"https:\/\/buddydev.com\/docs\/buddypress-shortcodes\/buddypress-groups-list-shortcode\/","og_site_name":"BuddyDev Help Center","article_published_time":"2016-11-06T07:01:05+00:00","author":"Brajesh Singh","twitter_misc":{"Written by":"Brajesh Singh","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/buddydev.com\/docs\/buddypress-shortcodes\/buddypress-groups-list-shortcode\/","url":"https:\/\/buddydev.com\/docs\/buddypress-shortcodes\/buddypress-groups-list-shortcode\/","name":"BuddyPress Groups List Shortcode &#8226; BuddyDev Help Center","isPartOf":{"@id":"https:\/\/buddydev.com\/docs\/#website"},"datePublished":"2016-11-06T07:01:05+00:00","author":{"@id":"https:\/\/buddydev.com\/docs\/#\/schema\/person\/4ebf5f3e519f8cbddc6583e182dbe4fb"},"breadcrumb":{"@id":"https:\/\/buddydev.com\/docs\/buddypress-shortcodes\/buddypress-groups-list-shortcode\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/buddydev.com\/docs\/buddypress-shortcodes\/buddypress-groups-list-shortcode\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/buddydev.com\/docs\/buddypress-shortcodes\/buddypress-groups-list-shortcode\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/buddydev.com\/docs\/"},{"@type":"ListItem","position":2,"name":"BuddyPress Groups List Shortcode"}]},{"@type":"WebSite","@id":"https:\/\/buddydev.com\/docs\/#website","url":"https:\/\/buddydev.com\/docs\/","name":"BuddyDev Help Center","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/buddydev.com\/docs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/buddydev.com\/docs\/#\/schema\/person\/4ebf5f3e519f8cbddc6583e182dbe4fb","name":"Brajesh Singh","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/buddydev.com\/docs\/#\/schema\/person\/image\/","url":"\/\/www.gravatar.com\/avatar\/2106622ee90d53d15ac1402806616aca?s=96&#038;r=g&#038;d=identicon","contentUrl":"\/\/www.gravatar.com\/avatar\/2106622ee90d53d15ac1402806616aca?s=96&#038;r=g&#038;d=identicon","caption":"Brajesh Singh"},"sameAs":["http:\/\/buddydev.com\/members\/sbrajesh\/","https:\/\/x.com\/sbrajesh"]}]}},"_links":{"self":[{"href":"https:\/\/buddydev.com\/docs\/wp-json\/wp\/v2\/posts\/256","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/buddydev.com\/docs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/buddydev.com\/docs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/buddydev.com\/docs\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/buddydev.com\/docs\/wp-json\/wp\/v2\/comments?post=256"}],"version-history":[{"count":1,"href":"https:\/\/buddydev.com\/docs\/wp-json\/wp\/v2\/posts\/256\/revisions"}],"predecessor-version":[{"id":257,"href":"https:\/\/buddydev.com\/docs\/wp-json\/wp\/v2\/posts\/256\/revisions\/257"}],"wp:attachment":[{"href":"https:\/\/buddydev.com\/docs\/wp-json\/wp\/v2\/media?parent=256"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/buddydev.com\/docs\/wp-json\/wp\/v2\/categories?post=256"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/buddydev.com\/docs\/wp-json\/wp\/v2\/tags?post=256"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}