Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,861
- How-to & Troubleshooting
- 128,912
- Creating & Extending
- 25,742
- Requests & Feedback
- 9,445
- Third Party Plugins
- 9,773
- Showcase
- 3,317
- Ideas
- 1,389
- Miscellaneous
- 9,134
-
Thanks ray,
I tried both
<?php if ( bp_get_group_id(1) ) { echo ‘yes’; } ?>
and
<?php global $bp; if ( $bp->groups->current_group->id == 1 ) { echo ‘yes’; } ?>
but they are not working…
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS