Im trying to make a page that uses both the bp_group_has_members and bp_has_groups commands.
Basically what I want to do is use the page title in the ( bp_has_groups( ‘type=single-group&slug=PageTitle’ ) ) : ?> which is fine (written that way just to clarity) but then I want to use the same for the <?php if ( bp_group_has_members(‘group_id=2&per_page=8′) ) : ?> part of my code.
Just wondering if theres a way that I can say “output the id of the group that equals to the slug PageTitle” so that i can use it in the bp_group_has_members function
Hope someone can help as I’m finding this abit of a headache.
Im using, WPMU 2.71 and Buddypress 1.01
- The topic ‘WP Groups’ is closed to new replies.