13 years, 2 months ago
hi, do buddypress have conditional tags for group and profile? like is_single() , is_single(‘id’) so we can have is_group() or is_profile()
For groups, this seems to work:
<?php if ( bp_is_page( BP_GROUPS_SLUG ) ) : ?>YOUR STUFF<?php endif; ?>
Not sure about profile… I could use that as well!
12 years, 9 months ago
I know this is an old topic, but did anyone ever figure out if there is a conditional that would indicate if you are looking at a member profile:
if (I’M LOOKING AT A MEMBER PROFILE)
It seems like bp_is_user_profile would do this, but it returns true when the profile is not being displayed.
See also: WordPress.org •
Follow BuddyPress on Twitter •
Contact Us •
Terms of Service